Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 169.8 kB / 16.07 MB, free: 5.547 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 205.4 MB / 222.2 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007351/0.0007349, allocations: 86.36 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1713/0.1713, allocations: 38.08 MB / 356.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003472, allocations: 12 kB / 423.4 MB, free: 37.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2258, allocations: 56.32 MB / 479.7 MB, free: 9.23 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003068/0.2289, allocations: 3.212 MB / 482.9 MB, free: 7.199 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.2304, allocations: 1.438 MB / 484.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.2305, allocations: 14.47 kB / 484.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.2307, allocations: 38.47 kB / 484.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005132/0.2312, allocations: 262.5 kB / 484.7 MB, free: 6.031 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.2314, allocations: 107.5 kB / 484.8 MB, free: 5.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004098/0.2319, allocations: 441.3 kB / 485.2 MB, free: 5.832 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005038/0.2324, allocations: 319.9 kB / 485.5 MB, free: 5.621 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.2326, allocations: 121 kB / 485.7 MB, free: 5.574 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.2328, allocations: 152.4 kB / 485.8 MB, free: 5.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.2328, allocations: 6.75 kB / 485.8 MB, free: 5.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000466/0.2333, allocations: 354 kB / 486.2 MB, free: 5.398 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.2334, allocations: 97.28 kB / 486.3 MB, free: 5.371 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.2335, allocations: 115.5 kB / 486.4 MB, free: 5.293 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.2338, allocations: 253.7 kB / 486.6 MB, free: 5.234 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2339, allocations: 5.812 kB / 486.6 MB, free: 5.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2339, allocations: 0 / 486.6 MB, free: 5.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2339, allocations: 0 / 486.6 MB, free: 5.23 MB / 314.7 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.0005057/0.2344, allocations: 477.6 kB / 487.1 MB, free: 4.793 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.2344, allocations: 10.16 kB / 487.1 MB, free: 4.793 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.461e-05/0.2345, allocations: 58.02 kB / 487.2 MB, free: 4.738 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007448/0.2352, allocations: 96.59 kB / 487.2 MB, free: 4.719 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.2355, allocations: 257.4 kB / 487.5 MB, free: 4.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.2355, allocations: 24.09 kB / 487.5 MB, free: 4.465 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.2356, allocations: 16.56 kB / 487.5 MB, free: 4.461 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004527/0.236, allocations: 314.3 kB / 487.8 MB, free: 4.293 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.236, allocations: 1.219 kB / 487.8 MB, free: 4.293 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.2361, allocations: 9.953 kB / 487.9 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/0.2361, allocations: 19.47 kB / 487.9 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004109/0.2365, allocations: 286.2 kB / 488.2 MB, free: 4.195 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.2378, allocations: 1.297 MB / 489.4 MB, free: 3.195 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.2382, allocations: 237.9 kB / 489.7 MB, free: 3.016 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.647e-05/0.2383, allocations: 56.19 kB / 489.7 MB, free: 2.984 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.2383, allocations: 1.938 kB / 489.7 MB, free: 2.984 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.2383, allocations: 40.73 kB / 489.8 MB, free: 2.938 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.2383, allocations: 3.938 kB / 489.8 MB, free: 2.934 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005109/0.2388, allocations: 287.5 kB / 490.1 MB, free: 2.785 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.2389, allocations: 80.55 kB / 490.1 MB, free: 2.691 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.239, allocations: 195.9 kB / 490.3 MB, free: 2.555 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.239, allocations: 26.89 kB / 490.4 MB, free: 2.523 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.2391, allocations: 161.1 kB / 490.5 MB, free: 2.383 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.2391, allocations: 42.34 kB / 490.6 MB, free: 2.352 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/0.2391, allocations: 9.688 kB / 490.6 MB, free: 2.344 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.439e-05/0.2392, allocations: 327.8 kB / 490.9 MB, free: 2.023 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.258e-05/0.2393, allocations: 48.81 kB / 490.9 MB, free: 2.008 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.2394, allocations: 146.1 kB / 491.1 MB, free: 1.863 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.2396, allocations: 216 kB / 491.3 MB, free: 1.684 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2396, allocations: 9.062 kB / 491.3 MB, free: 1.676 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000283/0.2399, allocations: 221.2 kB / 491.5 MB, free: 1.574 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2399, allocations: 12.22 kB / 491.5 MB, free: 1.574 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2399, allocations: 3.719 kB / 491.5 MB, free: 1.574 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2399, allocations: 9.406 kB / 491.5 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.2401, allocations: 41.92 kB / 491.6 MB, free: 1.566 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.2401, allocations: 6.672 kB / 491.6 MB, free: 1.566 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.258e-05/0.2402, allocations: 8 kB / 491.6 MB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.2402, allocations: 14.34 kB / 491.6 MB, free: 1.559 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.533e-05/0.2403, allocations: 155.8 kB / 491.8 MB, free: 1.422 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.2404, allocations: 16.06 kB / 491.8 MB, free: 1.414 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.2406, allocations: 154.7 kB / 491.9 MB, free: 1.336 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2406, allocations: 10.69 kB / 491.9 MB, free: 1.328 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2406, allocations: 0.75 kB / 491.9 MB, free: 1.328 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2406, allocations: 2.078 kB / 491.9 MB, free: 1.328 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006777/0.2413, allocations: 0.6613 MB / 492.6 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.2413, allocations: 7.562 kB / 492.6 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.837e-05/0.2414, allocations: 28.7 kB / 492.6 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.2415, allocations: 9.266 kB / 492.6 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.2415, allocations: 5.922 kB / 492.7 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.2415, allocations: 8.703 kB / 492.7 MB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.2415, allocations: 9.344 kB / 492.7 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.2417, allocations: 346.6 kB / 493 MB, free: 488 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.2418, allocations: 98.86 kB / 493.1 MB, free: 380 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.2418, allocations: 7.453 kB / 493.1 MB, free: 380 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.2419, allocations: 8.516 kB / 493.1 MB, free: 376 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.242, allocations: 23.48 kB / 493.1 MB, free: 364 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.242, allocations: 9.344 kB / 493.2 MB, free: 364 kB / 314.7 MB Notification: Performance of sorting global known variables: time 8.963e-05/0.2421, allocations: 147.4 kB / 493.3 MB, free: 260 kB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2421, allocations: 1.344 kB / 493.3 MB, free: 260 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005156/0.2426, allocations: 42.53 kB / 493.3 MB, free: 256 kB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006143/0.2432, allocations: 0.8706 MB / 494.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.2435, allocations: 127.7 kB / 494.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2435, allocations: 0.8438 kB / 494.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.577e-05/0.2436, allocations: 70.95 kB / 494.4 MB, free: 15.35 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.244, allocations: 37.12 kB / 494.4 MB, free: 15.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.2457, allocations: 1.326 MB / 495.8 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.246, allocations: 0.7644 MB / 496.5 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.2461, allocations: 61.06 kB / 496.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of SimCode: time 1.563e-06/0.2462, allocations: 0 / 496.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.78/3.026, allocations: 2.945 MB / 499.5 MB, free: 13.08 MB / 330.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)