Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_dev_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.001415/0.001415, allocations: 172.4 kB / 7.647 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.257/1.257, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.0009645/0.0009645, allocations: 84.45 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4849/0.4849, allocations: 78.95 MB / 410.2 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.043e-05/2.044e-05, allocations: 4 kB / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1362, allocations: 69.52 MB / 0.5425 GB, free: 5.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3973/0.5335, allocations: 106.3 MB / 0.6463 GB, free: 7.711 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.5338, allocations: 84.45 kB / 0.6464 GB, free: 7.629 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.101/0.6348, allocations: 37.11 MB / 0.6826 GB, free: 2.527 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.6348, allocations: 0 / 0.6826 GB, free: 2.527 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001195/0.635, allocations: 28 kB / 0.6826 GB, free: 2.5 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.006373/0.6413, allocations: 1.955 MB / 0.6845 GB, free: 0.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.6414, allocations: 8.031 kB / 0.6845 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004421/0.6458, allocations: 0.7356 MB / 0.6853 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.6478, allocations: 0.909 MB / 0.6862 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003834/0.6482, allocations: 329.3 kB / 0.6865 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002881/0.6485, allocations: 63.86 kB / 0.6865 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001959/0.6505, allocations: 0.9634 MB / 0.6875 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.6523, allocations: 0.9657 MB / 0.6884 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.6524, allocations: 1.031 kB / 0.6884 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.392e-05/0.6525, allocations: 4 kB / 0.6884 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.6525, allocations: 20 kB / 0.6884 GB, free: 12.39 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.008567/0.6611, allocations: 4.314 MB / 0.6926 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007306/0.6684, allocations: 2.717 MB / 0.6953 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.6695, allocations: 0.6438 MB / 0.6959 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.6697, allocations: 21.28 kB / 0.696 GB, free: 4.402 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.6697, allocations: 51.88 kB / 0.696 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=111): time 3.898e-06/0.6697, allocations: 0 / 0.696 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of matching and sorting (n=111): time 0.01569/0.6854, allocations: 4.935 MB / 0.7008 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.476e-05/0.6856, allocations: 90.42 kB / 0.7009 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.6877, allocations: 0.9818 MB / 0.7019 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003397/0.6881, allocations: 33.7 kB / 0.7019 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005291/0.6887, allocations: 0.5569 MB / 0.7024 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000732/0.6894, allocations: 382.2 kB / 0.7028 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.6896, allocations: 0 / 0.7028 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.6897, allocations: 345.9 kB / 0.7031 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.6908, allocations: 0.5025 MB / 0.7036 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.6918, allocations: 0.6413 MB / 0.7043 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.693, allocations: 0.5607 MB / 0.7048 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.6931, allocations: 3.938 kB / 0.7048 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003792/0.6968, allocations: 1.791 MB / 0.7066 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.6969, allocations: 8.656 kB / 0.7066 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.6969, allocations: 4 kB / 0.7066 GB, free: 9.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008127/0.705, allocations: 2.315 MB / 0.7088 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006848/0.7058, allocations: 135.8 kB / 0.709 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004887/0.7107, allocations: 2.466 MB / 0.7114 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002063/0.7128, allocations: 194.9 kB / 0.7116 GB, free: 4.273 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/0.713, allocations: 35.98 kB / 0.7116 GB, free: 4.238 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.0003404/0.7134, allocations: 129.4 kB / 0.7117 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01581/0.7292, allocations: 4.93 MB / 0.7165 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007981/0.73, allocations: 138.3 kB / 0.7167 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01579/0.7459, allocations: 4.989 MB / 0.7215 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/0.7459, allocations: 12 kB / 0.7215 GB, free: 10 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.746, allocations: 0 / 0.7215 GB, free: 10 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-05/0.746, allocations: 3.984 kB / 0.7215 GB, free: 10 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01844/0.7644, allocations: 6.682 MB / 0.7281 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.7645, allocations: 4.562 kB / 0.7281 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007498/0.7652, allocations: 103.9 kB / 0.7282 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007328/0.7726, allocations: 2.181 MB / 0.7303 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002028/0.7728, allocations: 11.94 kB / 0.7303 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01935/0.7922, allocations: 8.323 MB / 0.7384 GB, free: 8.473 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.7923, allocations: 0 / 0.7384 GB, free: 8.473 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01715/0.8094, allocations: 5.963 MB / 0.7443 GB, free: 2.484 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000611/0.8101, allocations: 263 kB / 0.7445 GB, free: 2.207 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004586/0.8105, allocations: 0 / 0.7445 GB, free: 2.207 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/0.8123, allocations: 135.9 kB / 0.7446 GB, free: 2.074 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007797/0.813, allocations: 241.3 kB / 0.7449 GB, free: 1.836 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/0.8132, allocations: 24 kB / 0.7449 GB, free: 1.812 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001339/0.8145, allocations: 0.7621 MB / 0.7456 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8145, allocations: 0 / 0.7456 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001689/0.8162, allocations: 423.4 kB / 0.746 GB, free: 0.6328 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.01747/0.8337, allocations: 6.637 MB / 0.7525 GB, free: 9.953 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006877/0.8406, allocations: 2.09 MB / 0.7546 GB, free: 7.867 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.8407, allocations: 0 / 0.7546 GB, free: 7.867 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00651/0.8472, allocations: 1.769 MB / 0.7563 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.8489, allocations: 92.75 kB / 0.7564 GB, free: 5.996 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006407/0.8553, allocations: 2.177 MB / 0.7585 GB, free: 3.797 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007817/0.8562, allocations: 1.185 MB / 0.7597 GB, free: 2.582 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005409/0.8567, allocations: 95.14 kB / 0.7598 GB, free: 2.484 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008049/0.8575, allocations: 0.5161 MB / 0.7603 GB, free: 1.969 MB / 0.5573 GB Notification: Performance of SimCode: time 1.152e-06/0.8576, allocations: 0 / 0.7603 GB, free: 1.969 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3493/1.207, allocations: 33.12 MB / 0.7926 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001365/1.207, allocations: 140.4 kB / 0.7927 GB, free: 141 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.826/4.033, allocations: 3.469 kB / 0.7927 GB, free: 141 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.fmu > OpenIPSL_dev_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)