Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 221.5 MB / 229.6 MB, free: 7.594 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008776/0.0008775, allocations: 86.88 kB / 280.4 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4991/0.4991, allocations: 78.12 MB / 409.4 MB, free: 6.457 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.344e-05/2.347e-05, allocations: 3.938 kB / 485.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1467, allocations: 69.36 MB / 0.5414 GB, free: 6.883 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4183/0.5651, allocations: 105.6 MB / 0.6445 GB, free: 10.02 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.5655, allocations: 79.95 kB / 0.6446 GB, free: 9.941 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSSE/TwoWindingTransformer.mo:52:3-52:54:writable] Notification: Moving binding to initial equation section and setting fixed attribute of twoWindingTransformer.t.re to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSSE/TwoWindingTransformer.mo:52:3-52:54:writable] Notification: Moving binding to initial equation section and setting fixed attribute of twoWindingTransformer.t.im to false. Notification: Performance of FrontEnd - DAE generated: time 0.1055/0.671, allocations: 39.42 MB / 0.6831 GB, free: 2.512 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6711, allocations: 4 kB / 0.6831 GB, free: 2.508 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.744e-05/0.6711, allocations: 20 kB / 0.6831 GB, free: 2.488 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.005671/0.6768, allocations: 1.951 MB / 0.685 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.6769, allocations: 12.03 kB / 0.6851 GB, free: 492 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003171/0.68, allocations: 0.5211 MB / 0.6856 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.6817, allocations: 0.8471 MB / 0.6864 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003699/0.6821, allocations: 337.3 kB / 0.6867 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.6823, allocations: 59.86 kB / 0.6868 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00175/0.6841, allocations: 0.9686 MB / 0.6877 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.6857, allocations: 0.9617 MB / 0.6886 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.6857, allocations: 4 kB / 0.6887 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-05/0.6858, allocations: 0.8438 kB / 0.6887 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.6859, allocations: 20 kB / 0.6887 GB, free: 12.65 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008167/0.694, allocations: 4.204 MB / 0.6928 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007076/0.7011, allocations: 2.718 MB / 0.6954 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009865/0.7022, allocations: 0.6477 MB / 0.6961 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.7023, allocations: 17.3 kB / 0.6961 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.7023, allocations: 46.5 kB / 0.6961 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=111): time 3.227e-06/0.7024, allocations: 4.688 kB / 0.6961 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of matching and sorting (n=111): time 0.01566/0.718, allocations: 4.934 MB / 0.7009 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.7181, allocations: 94.42 kB / 0.701 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.7196, allocations: 0.9075 MB / 0.7019 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002435/0.7199, allocations: 25.7 kB / 0.702 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004116/0.7203, allocations: 0.5647 MB / 0.7025 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004298/0.7207, allocations: 382.2 kB / 0.7029 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-05/0.7208, allocations: 4 kB / 0.7029 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.7209, allocations: 350.5 kB / 0.7032 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008206/0.7218, allocations: 0.5025 MB / 0.7037 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008765/0.7226, allocations: 0.6413 MB / 0.7043 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.7237, allocations: 0.5607 MB / 0.7049 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.7237, allocations: 0 / 0.7049 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003533/0.7273, allocations: 1.791 MB / 0.7066 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.7273, allocations: 10 kB / 0.7066 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.7273, allocations: 7.938 kB / 0.7066 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008062/0.7354, allocations: 2.319 MB / 0.7089 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007675/0.7362, allocations: 131.8 kB / 0.709 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005004/0.7412, allocations: 2.477 MB / 0.7114 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.7432, allocations: 190.9 kB / 0.7116 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.7433, allocations: 35.98 kB / 0.7117 GB, free: 4.664 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {28 29} Notification: Performance of prepare postOptimizeDAE: time 0.0003076/0.7437, allocations: 112.9 kB / 0.7118 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01523/0.7589, allocations: 4.943 MB / 0.7166 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005921/0.7595, allocations: 138.3 kB / 0.7167 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01471/0.7742, allocations: 4.981 MB / 0.7216 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/0.7743, allocations: 12 kB / 0.7216 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.391e-06/0.7743, allocations: 0 / 0.7216 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.674e-05/0.7743, allocations: 7.969 kB / 0.7216 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01708/0.7914, allocations: 6.62 MB / 0.7281 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.7915, allocations: 0 / 0.7281 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007019/0.7922, allocations: 111.8 kB / 0.7282 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007402/0.7996, allocations: 2.173 MB / 0.7303 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002565/0.7999, allocations: 11.94 kB / 0.7303 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01832/0.8182, allocations: 8.324 MB / 0.7384 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.8183, allocations: 0.8125 kB / 0.7384 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01691/0.8352, allocations: 5.959 MB / 0.7443 GB, free: 2.984 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006776/0.8359, allocations: 251 kB / 0.7445 GB, free: 2.719 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002698/0.8362, allocations: 3.984 kB / 0.7445 GB, free: 2.715 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/0.8377, allocations: 131.9 kB / 0.7446 GB, free: 2.586 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000723/0.8384, allocations: 250.3 kB / 0.7449 GB, free: 2.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.128e-05/0.8385, allocations: 34.98 kB / 0.7449 GB, free: 2.309 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009819/0.8395, allocations: 0.6997 MB / 0.7456 GB, free: 1.605 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8395, allocations: 0 / 0.7456 GB, free: 1.605 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001423/0.841, allocations: 423.4 kB / 0.746 GB, free: 1.191 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epq,gENROE.PSIkd,gENROE.PSIppq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.01735/0.8583, allocations: 6.631 MB / 0.7525 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006399/0.8648, allocations: 2.082 MB / 0.7545 GB, free: 8.434 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.8648, allocations: 0 / 0.7545 GB, free: 8.434 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00545/0.8703, allocations: 1.773 MB / 0.7562 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009797/0.8713, allocations: 84.81 kB / 0.7563 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004469/0.8758, allocations: 2.179 MB / 0.7584 GB, free: 4.363 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000672/0.8765, allocations: 1.189 MB / 0.7596 GB, free: 3.145 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004114/0.8769, allocations: 91.06 kB / 0.7597 GB, free: 3.051 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006264/0.8775, allocations: 0.5149 MB / 0.7602 GB, free: 2.535 MB / 0.5573 GB Notification: Performance of SimCode: time 7.92e-07/0.8775, allocations: 0 / 0.7602 GB, free: 2.535 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3497/1.227, allocations: 32.62 MB / 0.7921 GB, free: 142.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/1.227, allocations: 142.9 kB / 0.7922 GB, free: 142.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.272/4.5, allocations: 0 / 0.7922 GB, free: 142.5 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.fmu > OpenIPSL_release_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)