Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 119.9 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 185.2 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 249.1 MB, free: 3.586 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1817/0.1817, allocations: 38.49 MB / 342.5 MB, free: 8.094 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 71.73 kB / 478.6 MB, free: 33.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09618/0.09811, allocations: 61.25 MB / 0.5272 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005278/0.1034, allocations: 3.454 MB / 0.5306 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.1056, allocations: 1.461 MB / 0.532 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1057, allocations: 7.938 kB / 0.532 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007919/0.1065, allocations: 266.9 kB / 0.5323 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005639/0.1071, allocations: 275 kB / 0.5325 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.1073, allocations: 115.7 kB / 0.5326 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004092/0.1077, allocations: 346.9 kB / 0.533 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/0.108, allocations: 101.9 kB / 0.5331 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.1082, allocations: 151.4 kB / 0.5332 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.1084, allocations: 167.4 kB / 0.5334 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.1085, allocations: 16 kB / 0.5334 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004946/0.109, allocations: 319.2 kB / 0.5337 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.1091, allocations: 103.7 kB / 0.5338 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.1092, allocations: 103.5 kB / 0.5339 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004676/0.1097, allocations: 354.7 kB / 0.5342 GB, free: 10.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1097, allocations: 0 / 0.5342 GB, free: 10.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1097, allocations: 0 / 0.5342 GB, free: 10.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1097, allocations: 0 / 0.5342 GB, free: 10.15 MB / 398.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.0007277/0.1104, allocations: 0.5099 MB / 0.5347 GB, free: 9.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.1105, allocations: 15.89 kB / 0.5347 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.631e-05/0.1105, allocations: 54.72 kB / 0.5348 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008291/0.1114, allocations: 96.69 kB / 0.5349 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.1118, allocations: 263.3 kB / 0.5351 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.1118, allocations: 12.38 kB / 0.5351 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/0.1118, allocations: 31.91 kB / 0.5352 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/0.1123, allocations: 310.3 kB / 0.5355 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1124, allocations: 0 / 0.5355 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.1124, allocations: 8 kB / 0.5355 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.1124, allocations: 16 kB / 0.5355 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004764/0.1129, allocations: 287.7 kB / 0.5358 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.1148, allocations: 1.301 MB / 0.537 GB, free: 7.047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005916/0.1154, allocations: 197.1 kB / 0.5372 GB, free: 6.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.1155, allocations: 57.7 kB / 0.5373 GB, free: 6.773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.1155, allocations: 11.92 kB / 0.5373 GB, free: 6.762 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.1155, allocations: 34.56 kB / 0.5373 GB, free: 6.719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.502e-06/0.1155, allocations: 0 / 0.5373 GB, free: 6.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001003/0.1165, allocations: 434.7 kB / 0.5377 GB, free: 6.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/0.1166, allocations: 81.11 kB / 0.5378 GB, free: 6.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.1168, allocations: 194.2 kB / 0.538 GB, free: 5.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.1168, allocations: 25.83 kB / 0.538 GB, free: 5.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.117, allocations: 168.1 kB / 0.5382 GB, free: 5.766 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.117, allocations: 55.53 kB / 0.5382 GB, free: 5.711 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.265e-05/0.1171, allocations: 45.92 kB / 0.5383 GB, free: 5.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1172, allocations: 330.7 kB / 0.5386 GB, free: 5.328 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.695e-05/0.1173, allocations: 59.97 kB / 0.5387 GB, free: 5.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.1175, allocations: 148.8 kB / 0.5388 GB, free: 5.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.1178, allocations: 224.7 kB / 0.539 GB, free: 4.812 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1178, allocations: 0 / 0.539 GB, free: 4.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004812/0.1183, allocations: 270.2 kB / 0.5393 GB, free: 4.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1183, allocations: 8 kB / 0.5393 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1183, allocations: 0 / 0.5393 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002375/0.1186, allocations: 40.83 kB / 0.5393 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.1187, allocations: 43.86 kB / 0.5394 GB, free: 4.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.12, allocations: 1.438 MB / 0.5408 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.1202, allocations: 16.14 kB / 0.5408 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.1202, allocations: 8 kB / 0.5408 GB, free: 2.844 MB / 398.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 (24): * Single equations (assignments): 23 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001619/0.1203, allocations: 161.7 kB / 0.5409 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.1204, allocations: 19.84 kB / 0.541 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004081/0.1208, allocations: 191.9 kB / 0.5411 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1208, allocations: 0 / 0.5411 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1208, allocations: 0 / 0.5411 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1208, allocations: 8 kB / 0.5412 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009217/0.1217, allocations: 0.5524 MB / 0.5417 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1217, allocations: 0 / 0.5417 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.522e-05/0.1218, allocations: 27.98 kB / 0.5417 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/0.122, allocations: 32.86 kB / 0.5418 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.122, allocations: 8 kB / 0.5418 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.1232, allocations: 1.43 MB / 0.5432 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1232, allocations: 0 / 0.5432 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.1237, allocations: 314.4 kB / 0.5435 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.078e-05/0.1237, allocations: 89.02 kB / 0.5435 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.1238, allocations: 4 kB / 0.5435 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1239, allocations: 8 kB / 0.5436 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.1239, allocations: 15.86 kB / 0.5436 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.1239, allocations: 15.98 kB / 0.5436 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.1241, allocations: 144.3 kB / 0.5437 GB, free: 15.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1241, allocations: 0 / 0.5437 GB, free: 15.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003763/0.1244, allocations: 48 kB / 0.5438 GB, free: 15.52 MB / 414.1 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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007196/0.1251, allocations: 0.8335 MB / 0.5446 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004918/0.1256, allocations: 256.1 kB / 0.5448 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1256, allocations: 0 / 0.5448 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.1259, allocations: 174.6 kB / 0.545 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.1263, allocations: 37.7 kB / 0.545 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.1292, allocations: 2.395 MB / 0.5474 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.1297, allocations: 0.7593 MB / 0.5481 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.1298, allocations: 41.52 kB / 0.5481 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.339e-05/0.1299, allocations: 55.42 kB / 0.5482 GB, free: 10.69 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1299, allocations: 0 / 0.5482 GB, free: 10.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.1616, allocations: 3.938 MB / 0.552 GB, free: 6.855 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.921/10.08, allocations: 4.234 kB / 0.552 GB, free: 6.852 MB / 414.1 MB " [Timeout remaining time 650] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.795405759941787] Failed to read output from testmodel.py, exit status != 0: 10.165777741000056 10.189403892 10.076663599 Calling exit ...