Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+maint.om/package.mo", uses=false) 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/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08032/0.08032, allocations: 12.6 MB / 28.23 MB, free: 1.062 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009661/0.0009661, allocations: 115.4 kB / 31.84 MB, free: 4.008 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 191.8 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4058/0.4058, allocations: 78.51 MB / 419.3 MB, free: 11.23 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002493/0.002493, allocations: 138.5 kB / 0.5554 GB, free: 28.87 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.103, allocations: 68.13 MB / 0.6219 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.006952/0.11, allocations: 7.572 MB / 0.6293 GB, free: 8.301 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004121/0.1142, allocations: 2.255 MB / 0.6315 GB, free: 6.035 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008701/0.1151, allocations: 12 kB / 0.6315 GB, free: 6.023 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006598/0.1158, allocations: 293.6 kB / 0.6318 GB, free: 5.734 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002776/0.1186, allocations: 1.264 MB / 0.633 GB, free: 4.473 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.1197, allocations: 0.5883 MB / 0.6336 GB, free: 3.891 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001897/0.1216, allocations: 2.025 MB / 0.6356 GB, free: 1.859 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004093/0.1221, allocations: 345 kB / 0.6359 GB, free: 1.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007058/0.1228, allocations: 0.7742 MB / 0.6367 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009216/0.1237, allocations: 1.008 MB / 0.6377 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002005/0.1239, allocations: 148 kB / 0.6378 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005779/0.1245, allocations: 375.7 kB / 0.6382 GB, free: 15.2 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.1248, allocations: 398.4 kB / 0.6385 GB, free: 14.81 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005639/0.1254, allocations: 0.808 MB / 0.6393 GB, free: 14 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.127, allocations: 2.01 MB / 0.6413 GB, free: 11.98 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.127, allocations: 0 / 0.6413 GB, free: 11.98 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.127, allocations: 3.938 kB / 0.6413 GB, free: 11.98 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.1271, allocations: 0 / 0.6413 GB, free: 11.98 MB / 462.1 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.01317/0.1402, allocations: 3.875 MB / 0.6451 GB, free: 8.043 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1403, allocations: 15.92 kB / 0.6451 GB, free: 8.027 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001628/0.1405, allocations: 143.2 kB / 0.6452 GB, free: 7.879 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004169/0.1446, allocations: 0.72 MB / 0.6459 GB, free: 7.156 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.146, allocations: 0.9742 MB / 0.6469 GB, free: 6.129 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/0.1464, allocations: 361.3 kB / 0.6472 GB, free: 5.723 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.1466, allocations: 96 kB / 0.6473 GB, free: 5.629 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/0.1488, allocations: 1.285 MB / 0.6486 GB, free: 4.328 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.1488, allocations: 0 / 0.6486 GB, free: 4.328 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.541e-05/0.149, allocations: 36 kB / 0.6486 GB, free: 4.293 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.149, allocations: 20 kB / 0.6486 GB, free: 4.273 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.1514, allocations: 1.218 MB / 0.6498 GB, free: 3.059 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.006828/0.1582, allocations: 4.415 MB / 0.6541 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006965/0.1652, allocations: 2.519 MB / 0.6566 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.1667, allocations: 0.8537 MB / 0.6574 GB, free: 10.96 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.1669, allocations: 28.91 kB / 0.6574 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1669, allocations: 47.56 kB / 0.6575 GB, free: 10.88 MB / 478.1 MB Notification: Performance of pre-optimization done (n=111): time 2.395e-06/0.1669, allocations: 0 / 0.6575 GB, free: 10.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=111): time 0.04363/0.2106, allocations: 11.35 MB / 0.6686 GB, free: 15.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.2107, allocations: 90.11 kB / 0.6687 GB, free: 15.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/0.2126, allocations: 1.184 MB / 0.6698 GB, free: 14.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002365/0.2128, allocations: 49.7 kB / 0.6699 GB, free: 14.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004644/0.2133, allocations: 0.5407 MB / 0.6704 GB, free: 13.58 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004738/0.2138, allocations: 410 kB / 0.6708 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000631/0.2144, allocations: 283.5 kB / 0.6711 GB, free: 12.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.571e-05/0.2145, allocations: 305.1 kB / 0.6713 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/0.2163, allocations: 0.8863 MB / 0.6722 GB, free: 11.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/0.2183, allocations: 1.073 MB / 0.6733 GB, free: 10.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003603/0.2219, allocations: 1.956 MB / 0.6752 GB, free: 8.586 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.2219, allocations: 0 / 0.6752 GB, free: 8.586 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01588/0.2378, allocations: 5.324 MB / 0.6804 GB, free: 3.242 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/0.2378, allocations: 8 kB / 0.6804 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.2379, allocations: 7.938 kB / 0.6804 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008812/0.2467, allocations: 2.561 MB / 0.6829 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.2479, allocations: 239.6 kB / 0.6831 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005875/0.2538, allocations: 2.732 MB / 0.6858 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.2556, allocations: 210.5 kB / 0.686 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/0.2558, allocations: 55.98 kB / 0.686 GB, free: 13.41 MB / 0.4981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(28,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0005494/0.2564, allocations: 275 kB / 0.6863 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00037/0.2568, allocations: 138.2 kB / 0.6864 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01445/0.2712, allocations: 4.793 MB / 0.6911 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/0.2713, allocations: 12 kB / 0.6911 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.2713, allocations: 0 / 0.6911 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.652e-05/0.2713, allocations: 11.97 kB / 0.6911 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01714/0.2885, allocations: 6.524 MB / 0.6975 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.2885, allocations: 3.938 kB / 0.6975 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000582/0.2891, allocations: 107.8 kB / 0.6976 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00756/0.2967, allocations: 2.333 MB / 0.6999 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001461/0.2969, allocations: 24 kB / 0.6999 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0244/0.3213, allocations: 10.75 MB / 0.7104 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3213, allocations: 0 / 0.7104 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2379/0.5593, allocations: 5.94 MB / 0.7162 GB, free: 83.23 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004526/0.5598, allocations: 246.2 kB / 0.7164 GB, free: 83.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.5599, allocations: 20.41 kB / 0.7165 GB, free: 83.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.5612, allocations: 109.5 kB / 0.7166 GB, free: 83.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008206/0.5621, allocations: 249.1 kB / 0.7168 GB, free: 83.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.341e-05/0.5622, allocations: 29.3 kB / 0.7168 GB, free: 83.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001193/0.5634, allocations: 0.7971 MB / 0.7176 GB, free: 83.03 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5634, allocations: 0 / 0.7176 GB, free: 83.03 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001406/0.5648, allocations: 0.4885 MB / 0.7181 GB, free: 83.03 MB / 0.5137 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01801/0.5828, allocations: 6.539 MB / 0.7245 GB, free: 81.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007667/0.5905, allocations: 2.648 MB / 0.7271 GB, free: 80.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5905, allocations: 0 / 0.7271 GB, free: 80.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005726/0.5963, allocations: 1.876 MB / 0.7289 GB, free: 80.11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.5976, allocations: 120.8 kB / 0.729 GB, free: 80.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03938/0.637, allocations: 18.93 MB / 0.7475 GB, free: 72.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.6375, allocations: 1.162 MB / 0.7486 GB, free: 71.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004024/0.6379, allocations: 116.5 kB / 0.7487 GB, free: 71.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005213/0.6384, allocations: 0.5188 MB / 0.7492 GB, free: 70.75 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.6384, allocations: 3.938 kB / 0.7492 GB, free: 70.75 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05464/0.693, allocations: 40.29 MB / 0.7886 GB, free: 30.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.37, allocations: 12.02 kB / 0.7886 GB, free: 30.53 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)