Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.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.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",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.08146/0.08146, allocations: 12.59 MB / 28.22 MB, free: 0.7812 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.00107/0.00107, allocations: 111.4 kB / 31.84 MB, free: 3.902 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.292/1.292, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001195/0.001194, allocations: 187.2 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.41/0.41, allocations: 78.51 MB / 419.3 MB, free: 11.27 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.002485/0.002485, allocations: 135.1 kB / 0.5554 GB, free: 28.72 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1128, allocations: 68.13 MB / 0.6219 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE): time 0.01313/0.126, allocations: 15.02 MB / 0.6366 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009549/0.1356, allocations: 4.574 MB / 0.641 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003715/0.1394, allocations: 28 kB / 0.6411 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002546/0.142, allocations: 0.7789 MB / 0.6418 GB, free: 11.45 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007592/0.1496, allocations: 2.556 MB / 0.6443 GB, free: 8.91 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003306/0.1529, allocations: 1.34 MB / 0.6456 GB, free: 7.586 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006541/0.1595, allocations: 4.899 MB / 0.6504 GB, free: 2.672 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/0.1612, allocations: 0.7957 MB / 0.6512 GB, free: 1.836 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003114/0.1643, allocations: 1.887 MB / 0.653 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003463/0.1678, allocations: 2.451 MB / 0.6554 GB, free: 13.48 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001378/0.1692, allocations: 400 kB / 0.6558 GB, free: 13.09 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.1711, allocations: 0.6326 MB / 0.6564 GB, free: 12.46 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00129/0.1724, allocations: 0.9728 MB / 0.6574 GB, free: 11.48 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002861/0.1753, allocations: 2.005 MB / 0.6593 GB, free: 9.465 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005967/0.1813, allocations: 5.323 MB / 0.6645 GB, free: 4.125 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1813, allocations: 0 / 0.6645 GB, free: 4.125 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1813, allocations: 0 / 0.6645 GB, free: 4.125 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001503/0.1815, allocations: 0 / 0.6645 GB, free: 4.125 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.03739/0.2189, allocations: 9.531 MB / 0.6738 GB, free: 10.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2189, allocations: 11.98 kB / 0.6739 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006928/0.2196, allocations: 290.5 kB / 0.6741 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.2307, allocations: 1.748 MB / 0.6758 GB, free: 8.457 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004572/0.2353, allocations: 2.163 MB / 0.6779 GB, free: 6.234 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007767/0.2361, allocations: 0.6663 MB / 0.6786 GB, free: 5.477 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001064/0.2372, allocations: 247.8 kB / 0.6788 GB, free: 5.234 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006652/0.2439, allocations: 2.685 MB / 0.6815 GB, free: 2.539 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.21e-05/0.244, allocations: 0 / 0.6815 GB, free: 2.539 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003071/0.2443, allocations: 76 kB / 0.6815 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.9e-05/0.2443, allocations: 48 kB / 0.6816 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00603/0.2504, allocations: 2.83 MB / 0.6843 GB, free: 15.58 MB / 0.4981 GB 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.02029/0.2707, allocations: 11 MB / 0.6951 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0115/0.2822, allocations: 4.968 MB / 0.6999 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003915/0.2861, allocations: 1.931 MB / 0.7018 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003396/0.2865, allocations: 41.95 kB / 0.7019 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.2866, allocations: 56.56 kB / 0.7019 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 5.71e-06/0.2866, allocations: 0 / 0.7019 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.37/0.6565, allocations: 29.55 MB / 0.7308 GB, free: 77.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.6566, allocations: 76.62 kB / 0.7308 GB, free: 77.39 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004136/0.6608, allocations: 2.901 MB / 0.7337 GB, free: 76.52 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005224/0.6613, allocations: 90.06 kB / 0.7338 GB, free: 76.43 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007486/0.6621, allocations: 1.254 MB / 0.735 GB, free: 75.53 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007638/0.6628, allocations: 0.9018 MB / 0.7359 GB, free: 74.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001224/0.6641, allocations: 0.7491 MB / 0.7366 GB, free: 74.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.221e-05/0.6641, allocations: 305.1 kB / 0.7369 GB, free: 74.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003857/0.668, allocations: 2.28 MB / 0.7391 GB, free: 72.88 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003947/0.6719, allocations: 2.677 MB / 0.7417 GB, free: 71.35 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007616/0.6796, allocations: 4.849 MB / 0.7465 GB, free: 68.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.6796, allocations: 0 / 0.7465 GB, free: 68.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01224/0.6918, allocations: 7.236 MB / 0.7535 GB, free: 63.58 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.6919, allocations: 8 kB / 0.7535 GB, free: 63.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.6919, allocations: 4.688 kB / 0.7536 GB, free: 63.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01559/0.7075, allocations: 5.737 MB / 0.7592 GB, free: 57.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002879/0.7104, allocations: 0.6593 MB / 0.7598 GB, free: 57.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/0.7212, allocations: 5.443 MB / 0.7651 GB, free: 51.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00386/0.7251, allocations: 0.5154 MB / 0.7656 GB, free: 51.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002932/0.7254, allocations: 140 kB / 0.7657 GB, free: 51.05 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (410): * Single equations (assignments): 409 * 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 {(62,60)} Notification: Performance of prepare postOptimizeDAE: time 0.0009146/0.7263, allocations: 0.5207 MB / 0.7663 GB, free: 50.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004973/0.7268, allocations: 327.8 kB / 0.7666 GB, free: 50.19 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02774/0.7545, allocations: 10.53 MB / 0.7768 GB, free: 39.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.232e-05/0.7546, allocations: 28 kB / 0.7769 GB, free: 39.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.7546, allocations: 5.906 kB / 0.7769 GB, free: 39.56 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.423e-05/0.7547, allocations: 15.89 kB / 0.7769 GB, free: 39.55 MB / 0.5137 GB 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 postOpt removeSimpleEquations (simulation): time 0.03251/0.7872, allocations: 14.62 MB / 0.7912 GB, free: 24.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/0.7873, allocations: 4 kB / 0.7912 GB, free: 24.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/0.7888, allocations: 259.6 kB / 0.7914 GB, free: 24.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01319/0.802, allocations: 4.761 MB / 0.7961 GB, free: 19.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005208/0.8025, allocations: 55.98 kB / 0.7961 GB, free: 19.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04387/0.8464, allocations: 21.45 MB / 0.8171 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.8464, allocations: 4.812 kB / 0.8171 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03621/0.8827, allocations: 12.81 MB / 0.8296 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/0.8838, allocations: 0.4884 MB / 0.8301 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005558/0.8844, allocations: 48 kB / 0.8301 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002731/0.8871, allocations: 247.7 kB / 0.8303 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001732/0.8888, allocations: 0.5179 MB / 0.8309 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001883/0.889, allocations: 63.98 kB / 0.8309 GB, free: 15.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002492/0.8915, allocations: 1.885 MB / 0.8328 GB, free: 13.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8915, allocations: 0 / 0.8328 GB, free: 13.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002848/0.8944, allocations: 1.122 MB / 0.8339 GB, free: 12.78 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (g1.gENSAL.w,g1.gENSAL.delta,g1.gENSAL.Epq,g1.gENSAL.PSIkd,g1.gENSAL.PSIppq,g2.gENSAL.w,g2.gENSAL.delta,g2.gENSAL.Epq,g2.gENSAL.PSIkd,g2.gENSAL.PSIppq,g3.gENSAL.w,g3.gENSAL.delta,g3.gENSAL.Epq,g3.gENSAL.PSIkd,g3.gENSAL.PSIppq,g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIppq) * 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 (156): * Single equations (assignments): 155 * 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 {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03528/0.9297, allocations: 13.23 MB / 0.8468 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01679/0.9465, allocations: 6.164 MB / 0.8528 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.9466, allocations: 4 kB / 0.8528 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01074/0.9573, allocations: 3.779 MB / 0.8565 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003355/0.9607, allocations: 269.8 kB / 0.8567 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08503/1.046, allocations: 36.92 MB / 0.8928 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001776/1.048, allocations: 1.852 MB / 0.8946 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00146/1.049, allocations: 292.8 kB / 0.8949 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002179/1.051, allocations: 1.394 MB / 0.8962 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of SimCode: time 1.222e-06/1.051, allocations: 4 kB / 0.8962 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4026/1.454, allocations: 89.59 MB / 0.9837 GB, free: 230.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.71/19.16, allocations: 11.22 kB / 0.9838 GB, free: 230.3 MB / 0.67 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)