Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.conf.json 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/Complex 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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 104.8 kB / 17.05 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 196 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1753/0.1753, allocations: 37.98 MB / 309.2 MB, free: 5.969 MB / 254.1 MB 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: Performance of FrontEnd - loaded program: time 0.002403/0.002403, allocations: 67.89 kB / 431.4 MB, free: 16.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1034, allocations: 55.25 MB / 486.6 MB, free: 8.855 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.005643/0.1091, allocations: 3.438 MB / 490 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.1112, allocations: 1.485 MB / 491.5 MB, free: 3.898 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.1115, allocations: 4 kB / 491.5 MB, free: 3.895 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009153/0.1124, allocations: 263.4 kB / 491.8 MB, free: 3.637 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006187/0.113, allocations: 275 kB / 492.1 MB, free: 3.367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.1133, allocations: 111.7 kB / 492.2 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004271/0.1138, allocations: 343 kB / 492.5 MB, free: 2.922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003762/0.1141, allocations: 130.5 kB / 492.6 MB, free: 2.797 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003627/0.1145, allocations: 151.4 kB / 492.8 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.1148, allocations: 155.5 kB / 492.9 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.1148, allocations: 16 kB / 492.9 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005597/0.1154, allocations: 315.2 kB / 493.2 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.1155, allocations: 95.77 kB / 493.3 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.1157, allocations: 111.4 kB / 493.4 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005233/0.1162, allocations: 335.3 kB / 493.8 MB, free: 1.641 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.1162, allocations: 7.984 kB / 493.8 MB, free: 1.633 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1162, allocations: 0 / 493.8 MB, free: 1.633 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.1162, allocations: 0 / 493.8 MB, free: 1.633 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007206/0.117, allocations: 0.5103 MB / 494.3 MB, free: 1.074 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.117, allocations: 15.88 kB / 494.3 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.163e-05/0.1171, allocations: 58.73 kB / 494.4 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008877/0.118, allocations: 88.55 kB / 494.5 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.1184, allocations: 264.4 kB / 494.7 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.1185, allocations: 16.38 kB / 494.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.1185, allocations: 19.94 kB / 494.7 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005562/0.1191, allocations: 330.1 kB / 495.1 MB, free: 236 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1191, allocations: 3.984 kB / 495.1 MB, free: 232 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.1191, allocations: 4 kB / 495.1 MB, free: 228 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/0.1192, allocations: 12 kB / 495.1 MB, free: 216 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000451/0.1196, allocations: 299.7 kB / 495.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.1213, allocations: 1.277 MB / 496.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.1217, allocations: 238.3 kB / 496.9 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.507e-05/0.1218, allocations: 57.69 kB / 496.9 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.1218, allocations: 4 kB / 497 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.1219, allocations: 34.56 kB / 497 MB, free: 14.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.1219, allocations: 0 / 497 MB, free: 14.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005664/0.1224, allocations: 296.2 kB / 497.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.1225, allocations: 85.05 kB / 497.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.1227, allocations: 198.6 kB / 497.6 MB, free: 13.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.1227, allocations: 25.7 kB / 497.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1229, allocations: 167.9 kB / 497.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.1229, allocations: 43.36 kB / 497.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.344e-05/0.123, allocations: 49.61 kB / 497.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1231, allocations: 326.8 kB / 498.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.1232, allocations: 47.91 kB / 498.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.1233, allocations: 144.8 kB / 498.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.1236, allocations: 216.6 kB / 498.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1236, allocations: 0 / 498.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00031/0.1239, allocations: 233.4 kB / 498.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.124, allocations: 7.938 kB / 498.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.124, allocations: 4 kB / 498.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.981e-05/0.124, allocations: 4.047 kB / 498.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.1242, allocations: 51.89 kB / 498.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.1242, allocations: 4 kB / 498.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.877e-05/0.1243, allocations: 8 kB / 498.9 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.1243, allocations: 12 kB / 498.9 MB, free: 12.12 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.1245, allocations: 165.6 kB / 499 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.1245, allocations: 19.88 kB / 499.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.1248, allocations: 139.2 kB / 499.2 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.1248, allocations: 7.984 kB / 499.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.1248, allocations: 0 / 499.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.1248, allocations: 7.875 kB / 499.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008158/0.1256, allocations: 0.6573 MB / 499.9 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1256, allocations: 4.438 kB / 499.9 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.1257, allocations: 47.86 kB / 499.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.1258, allocations: 8 kB / 499.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1258, allocations: 4 kB / 499.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1258, allocations: 7.984 kB / 499.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.1258, allocations: 4 kB / 499.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.1261, allocations: 339.2 kB / 0.4885 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.75e-05/0.1262, allocations: 104.8 kB / 0.4886 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.1262, allocations: 11.94 kB / 0.4887 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.1263, allocations: 8 kB / 0.4887 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.1264, allocations: 19.92 kB / 0.4887 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.1264, allocations: 12 kB / 0.4887 GB, free: 10.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.1265, allocations: 144.3 kB / 0.4888 GB, free: 10.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1265, allocations: 0 / 0.4888 GB, free: 10.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003378/0.1269, allocations: 44 kB / 0.4889 GB, free: 10.19 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005128/0.1274, allocations: 0.8606 MB / 0.4897 GB, free: 9.262 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002427/0.1276, allocations: 156.2 kB / 0.4899 GB, free: 9.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1276, allocations: 0 / 0.4899 GB, free: 9.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.589e-05/0.1277, allocations: 59.78 kB / 0.4899 GB, free: 9.051 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.1282, allocations: 49.88 kB / 0.49 GB, free: 9.004 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.1305, allocations: 2.414 MB / 0.4923 GB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.1309, allocations: 0.7709 MB / 0.4931 GB, free: 5.543 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.131, allocations: 41.5 kB / 0.4931 GB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.455e-05/0.1311, allocations: 55.42 kB / 0.4932 GB, free: 5.453 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1311, allocations: 0 / 0.4932 GB, free: 5.453 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.1502, allocations: 3.516 MB / 0.4966 GB, free: 1.887 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.563/7.713, allocations: 4 kB / 0.4966 GB, free: 1.883 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)