Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.ImpedanceTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_ImpedanceTest",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.002395/0.002401, allocations: 183.8 kB / 15.77 MB, free: 5.988 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.999/1.999, allocations: 205.4 MB / 221.9 MB, free: 13.79 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.001117/0.001117, allocations: 90.86 kB / 270.2 MB, free: 13.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.256/0.256, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004683, allocations: 12 kB / 422.8 MB, free: 26.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1101, allocations: 56.33 MB / 479.1 MB, free: 1.945 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005542/0.1157, allocations: 3.117 MB / 482.2 MB, free: 14.81 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003126/0.1189, allocations: 1.401 MB / 483.6 MB, free: 13.4 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002564/0.1192, allocations: 15.88 kB / 483.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.1194, allocations: 35.77 kB / 483.7 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007785/0.1202, allocations: 171.4 kB / 483.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.1207, allocations: 87.75 kB / 483.9 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000337/0.121, allocations: 151.7 kB / 484.1 MB, free: 12.95 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008613/0.1219, allocations: 319 kB / 484.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002924/0.1222, allocations: 107.5 kB / 484.5 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.1224, allocations: 75.73 kB / 484.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.1225, allocations: 8 kB / 484.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005557/0.123, allocations: 151.7 kB / 484.7 MB, free: 12.28 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.1232, allocations: 87.72 kB / 484.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.739e-05/0.1233, allocations: 65.58 kB / 484.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004927/0.1238, allocations: 247.4 kB / 485.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1238, allocations: 4 kB / 485.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1238, allocations: 0 / 485.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.1238, allocations: 0 / 485.1 MB, free: 11.88 MB / 330.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.000874/0.1247, allocations: 470.6 kB / 485.6 MB, free: 11.37 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.1248, allocations: 8.031 kB / 485.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.1249, allocations: 58.55 kB / 485.7 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.1262, allocations: 103.6 kB / 485.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004436/0.1266, allocations: 263.1 kB / 486 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.1267, allocations: 16 kB / 486 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.433e-05/0.1267, allocations: 23.91 kB / 486.1 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007747/0.1275, allocations: 306.3 kB / 486.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.1276, allocations: 7.938 kB / 486.4 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.1276, allocations: 4 kB / 486.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.189e-05/0.1277, allocations: 23.98 kB / 486.4 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007369/0.1284, allocations: 287.7 kB / 486.7 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002643/0.1311, allocations: 1.293 MB / 488 MB, free: 8.828 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009844/0.1321, allocations: 205.2 kB / 488.2 MB, free: 8.609 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.943e-05/0.1322, allocations: 8.047 kB / 488.2 MB, free: 8.602 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.1322, allocations: 34.78 kB / 488.2 MB, free: 8.559 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 5.972e-06/0.1323, allocations: 3.938 kB / 488.2 MB, free: 8.555 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.001404/0.1337, allocations: 426.2 kB / 488.6 MB, free: 8.109 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.1338, allocations: 81.09 kB / 488.7 MB, free: 8.012 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.134, allocations: 194.2 kB / 488.9 MB, free: 7.809 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.1341, allocations: 29.7 kB / 488.9 MB, free: 7.773 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.1342, allocations: 226.2 kB / 489.1 MB, free: 7.551 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.679e-05/0.1343, allocations: 51.42 kB / 489.2 MB, free: 7.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.1343, allocations: 8 kB / 489.2 MB, free: 7.492 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1345, allocations: 318.8 kB / 489.5 MB, free: 7.172 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.1347, allocations: 51.97 kB / 489.6 MB, free: 7.121 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.1349, allocations: 148.8 kB / 489.7 MB, free: 6.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.1352, allocations: 87.84 kB / 489.8 MB, free: 6.844 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1352, allocations: 4 kB / 489.8 MB, free: 6.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007292/0.1359, allocations: 247 kB / 490 MB, free: 6.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.136, allocations: 11.94 kB / 490.1 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.136, allocations: 4 kB / 490.1 MB, free: 6.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003392/0.1363, allocations: 36.83 kB / 490.1 MB, free: 6.535 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.1366, allocations: 43.92 kB / 490.1 MB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.1383, allocations: 1.351 MB / 491.5 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.1386, allocations: 8 kB / 491.5 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.1386, allocations: 15.98 kB / 491.5 MB, free: 4.984 MB / 330.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 (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002279/0.1388, allocations: 154 kB / 491.7 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.693e-05/0.1389, allocations: 19.8 kB / 491.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006058/0.1395, allocations: 191.9 kB / 491.9 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1395, allocations: 0 / 491.9 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.1396, allocations: 4 kB / 491.9 MB, free: 4.609 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.1396, allocations: 3.984 kB / 491.9 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.1408, allocations: 0.5718 MB / 492.4 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.1409, allocations: 8.062 kB / 492.5 MB, free: 3.957 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.141, allocations: 19.98 kB / 492.5 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002387/0.1413, allocations: 36.86 kB / 492.5 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.1413, allocations: 4 kB / 492.5 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.1428, allocations: 1.323 MB / 493.8 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/0.1429, allocations: 4.031 kB / 493.8 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006857/0.1436, allocations: 350.5 kB / 494.2 MB, free: 2.035 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.065e-05/0.1437, allocations: 92.92 kB / 494.3 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.1437, allocations: 3.984 kB / 494.3 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.1439, allocations: 8 kB / 494.3 MB, free: 1.914 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.1439, allocations: 11.98 kB / 494.3 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.144, allocations: 4 kB / 494.3 MB, free: 1.898 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001844/0.1442, allocations: 152.1 kB / 494.5 MB, free: 1.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1442, allocations: 3.938 kB / 494.5 MB, free: 1.746 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005521/0.1447, allocations: 48 kB / 494.5 MB, free: 1.699 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001032/0.1458, allocations: 1.154 MB / 495.7 MB, free: 500 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007376/0.1465, allocations: 266.4 kB / 495.9 MB, free: 220 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1466, allocations: 0 / 495.9 MB, free: 220 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003406/0.1469, allocations: 175.7 kB / 496.1 MB, free: 32 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.1473, allocations: 32.19 kB / 496.1 MB, free: 0 / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/0.151, allocations: 3.405 MB / 499.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/0.1515, allocations: 0.7673 MB / 0.4886 GB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.1517, allocations: 55.41 kB / 0.4886 GB, free: 11.61 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1517, allocations: 0 / 0.4886 GB, free: 11.61 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.719/2.871, allocations: 4.051 MB / 0.4926 GB, free: 7.551 MB / 346.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)