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.001299/0.001299, allocations: 109.9 kB / 17.06 MB, free: 5.973 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.001334/0.001334, allocations: 200 kB / 18.01 MB, free: 5.055 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.312/1.312, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1885/0.1885, allocations: 37.99 MB / 309.2 MB, free: 5.949 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.001417/0.001417, allocations: 67.89 kB / 431.4 MB, free: 16.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08568/0.08711, allocations: 55.24 MB / 486.6 MB, free: 8.965 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004473/0.09161, allocations: 3.438 MB / 490 MB, free: 5.504 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.0937, allocations: 1.485 MB / 491.5 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.09389, allocations: 7.938 kB / 491.5 MB, free: 4 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008492/0.09475, allocations: 259 kB / 491.8 MB, free: 3.746 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00063/0.09539, allocations: 282.9 kB / 492.1 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.09568, allocations: 107.7 kB / 492.2 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003883/0.09608, allocations: 339.1 kB / 492.5 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.09635, allocations: 130.5 kB / 492.6 MB, free: 2.906 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002516/0.09662, allocations: 155.4 kB / 492.8 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.09685, allocations: 151.5 kB / 492.9 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.09688, allocations: 12 kB / 492.9 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004708/0.09736, allocations: 315.2 kB / 493.2 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.09749, allocations: 103.8 kB / 493.3 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.09763, allocations: 99.48 kB / 493.4 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004796/0.09812, allocations: 347.2 kB / 493.8 MB, free: 1.746 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.09814, allocations: 8 kB / 493.8 MB, free: 1.738 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.09814, allocations: 0 / 493.8 MB, free: 1.738 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.09816, allocations: 0 / 493.8 MB, free: 1.738 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.0007541/0.09892, allocations: 0.5026 MB / 494.3 MB, free: 1.188 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.09897, allocations: 15.83 kB / 494.3 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.302e-05/0.09904, allocations: 58.72 kB / 494.4 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008354/0.09988, allocations: 92.55 kB / 494.5 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.1002, allocations: 268.4 kB / 494.7 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.1002, allocations: 12.38 kB / 494.7 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/0.1003, allocations: 19.92 kB / 494.7 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/0.1007, allocations: 326.2 kB / 495.1 MB, free: 352 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.1008, allocations: 4 kB / 495.1 MB, free: 348 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.1008, allocations: 8 kB / 495.1 MB, free: 340 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/0.1008, allocations: 12 kB / 495.1 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003908/0.1012, allocations: 287.8 kB / 495.4 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.1028, allocations: 1.293 MB / 496.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.1032, allocations: 234.4 kB / 496.9 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.567e-05/0.1033, allocations: 57.64 kB / 496.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.1033, allocations: 0 / 496.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.1033, allocations: 38.56 kB / 497 MB, free: 14.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.1034, allocations: 0 / 497 MB, free: 14.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005983/0.104, allocations: 288.6 kB / 497.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.104, allocations: 85.23 kB / 497.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.1042, allocations: 198.6 kB / 497.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.1042, allocations: 25.7 kB / 497.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.1043, allocations: 159.8 kB / 497.7 MB, free: 13.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.1044, allocations: 43.36 kB / 497.8 MB, free: 13.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/0.1044, allocations: 49.61 kB / 497.8 MB, free: 13.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1046, allocations: 330.8 kB / 498.1 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.655e-05/0.1047, allocations: 55.84 kB / 498.2 MB, free: 13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.1048, allocations: 136.9 kB / 498.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.105, allocations: 220.6 kB / 498.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.105, allocations: 0 / 498.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003334/0.1054, allocations: 229.1 kB / 498.8 MB, free: 12.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1054, allocations: 8 kB / 498.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1054, allocations: 4 kB / 498.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1054, allocations: 4 kB / 498.8 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.1056, allocations: 47.91 kB / 498.8 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.1056, allocations: 11.92 kB / 498.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.1057, allocations: 12.5 kB / 498.9 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.1058, allocations: 12 kB / 498.9 MB, free: 12.23 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.0001335/0.1059, allocations: 165.7 kB / 499 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.106, allocations: 19.8 kB / 499 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.1062, allocations: 151.8 kB / 499.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1062, allocations: 0 / 499.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1062, allocations: 4 kB / 499.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1062, allocations: 3.938 kB / 499.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008166/0.1071, allocations: 0.6652 MB / 499.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.1071, allocations: 4 kB / 499.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.923e-05/0.1072, allocations: 31.86 kB / 499.9 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1072, allocations: 4 kB / 499.9 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.1072, allocations: 11.98 kB / 499.9 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.1072, allocations: 7.938 kB / 499.9 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.1072, allocations: 4 kB / 499.9 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.1075, allocations: 347.5 kB / 0.4885 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.1076, allocations: 100.9 kB / 0.4886 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.1076, allocations: 4 kB / 0.4886 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.1078, allocations: 11.98 kB / 0.4887 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.1078, allocations: 23.86 kB / 0.4887 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.1078, allocations: 8 kB / 0.4887 GB, free: 10.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.1079, allocations: 144.3 kB / 0.4888 GB, free: 10.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1079, allocations: 0 / 0.4888 GB, free: 10.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003386/0.1083, allocations: 44 kB / 0.4889 GB, free: 10.3 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.0005243/0.1088, allocations: 0.8645 MB / 0.4897 GB, free: 9.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.1091, allocations: 151.7 kB / 0.4899 GB, free: 9.223 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1091, allocations: 0 / 0.4899 GB, free: 9.223 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.231e-05/0.1092, allocations: 61.59 kB / 0.4899 GB, free: 9.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.1096, allocations: 59.52 kB / 0.49 GB, free: 9.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.112, allocations: 2.414 MB / 0.4923 GB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.1124, allocations: 0.7554 MB / 0.4931 GB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.1125, allocations: 45.5 kB / 0.4931 GB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.776e-05/0.1126, allocations: 63.41 kB / 0.4932 GB, free: 5.559 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1126, allocations: 0 / 0.4932 GB, free: 5.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01859/0.1312, allocations: 3.508 MB / 0.4966 GB, free: 2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.366/7.497, allocations: 0 / 0.4966 GB, free: 2 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)