Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.001308/0.001308, allocations: 125 kB / 17.79 MB, free: 5.121 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.001275/0.001275, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.527/1.527, allocations: 225.6 MB / 249.1 MB, free: 3.621 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.1904/0.1904, allocations: 38.5 MB / 342.5 MB, free: 8.012 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.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 65.89 kB / 478.6 MB, free: 33.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1028, allocations: 61.25 MB / 0.5272 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.006457/0.1092, allocations: 4.622 MB / 0.5317 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002579/0.1118, allocations: 1.484 MB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.112, allocations: 11.94 kB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.1132, allocations: 386.4 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006486/0.1139, allocations: 230.9 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007453/0.1146, allocations: 259.3 kB / 0.534 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000707/0.1153, allocations: 0.5612 MB / 0.5346 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004505/0.1158, allocations: 262.4 kB / 0.5348 GB, free: 9.645 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003999/0.1162, allocations: 267 kB / 0.5351 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005196/0.1167, allocations: 334.9 kB / 0.5354 GB, free: 9.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.66e-05/0.1168, allocations: 32 kB / 0.5354 GB, free: 9.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002986/0.1171, allocations: 151.7 kB / 0.5356 GB, free: 8.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.1173, allocations: 227.4 kB / 0.5358 GB, free: 8.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002576/0.1176, allocations: 250.7 kB / 0.536 GB, free: 8.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007507/0.1183, allocations: 0.5992 MB / 0.5366 GB, free: 7.805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1183, allocations: 7.984 kB / 0.5366 GB, free: 7.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1183, allocations: 0 / 0.5366 GB, free: 7.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.1183, allocations: 0 / 0.5366 GB, free: 7.797 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001426/0.1198, allocations: 0.777 MB / 0.5374 GB, free: 6.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.1198, allocations: 11.89 kB / 0.5374 GB, free: 6.957 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/0.1199, allocations: 90.7 kB / 0.5375 GB, free: 6.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005992/0.1205, allocations: 100.5 kB / 0.5376 GB, free: 6.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008283/0.1214, allocations: 420.3 kB / 0.538 GB, free: 6.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/0.1214, allocations: 29.38 kB / 0.538 GB, free: 6.285 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.1216, allocations: 63.86 kB / 0.5381 GB, free: 6.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.1226, allocations: 0.6372 MB / 0.5387 GB, free: 5.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.1227, allocations: 3.938 kB / 0.5387 GB, free: 5.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/0.1227, allocations: 16 kB / 0.5387 GB, free: 5.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/0.1228, allocations: 36.98 kB / 0.5387 GB, free: 5.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007997/0.1236, allocations: 483.5 kB / 0.5392 GB, free: 4.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003788/0.1274, allocations: 3.007 MB / 0.5421 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.1277, allocations: 173 kB / 0.5423 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.1279, allocations: 97.73 kB / 0.5424 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/0.128, allocations: 12.31 kB / 0.5424 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.128, allocations: 38.5 kB / 0.5424 GB, free: 1.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.874e-06/0.128, allocations: 0 / 0.5424 GB, free: 1.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001655/0.1296, allocations: 0.8493 MB / 0.5433 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.1297, allocations: 81.23 kB / 0.5433 GB, free: 488 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004064/0.1301, allocations: 349.5 kB / 0.5437 GB, free: 132 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.1302, allocations: 33.7 kB / 0.5437 GB, free: 92 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.1304, allocations: 303.8 kB / 0.544 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.855e-05/0.1305, allocations: 87.3 kB / 0.5441 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.1306, allocations: 86.08 kB / 0.5442 GB, free: 15.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.1308, allocations: 346.8 kB / 0.5445 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.131, allocations: 128.7 kB / 0.5446 GB, free: 15.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.1314, allocations: 334.9 kB / 0.5449 GB, free: 14.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006523/0.1321, allocations: 0.4933 MB / 0.5454 GB, free: 14.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.1321, allocations: 7.938 kB / 0.5454 GB, free: 14.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001082/0.1331, allocations: 0.5527 MB / 0.546 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.1332, allocations: 12.19 kB / 0.546 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005602/0.1337, allocations: 283.6 kB / 0.5462 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003656/0.1341, allocations: 80.78 kB / 0.5463 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/0.1344, allocations: 99.81 kB / 0.5464 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/0.1363, allocations: 1.719 MB / 0.5481 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.1366, allocations: 20 kB / 0.5481 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.1366, allocations: 24.05 kB / 0.5481 GB, free: 11.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002853/0.1369, allocations: 221.5 kB / 0.5484 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.137, allocations: 31.81 kB / 0.5484 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005521/0.1375, allocations: 292.6 kB / 0.5487 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1375, allocations: 7.938 kB / 0.5487 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.1375, allocations: 0 / 0.5487 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1375, allocations: 3.984 kB / 0.5487 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.1389, allocations: 0.7955 MB / 0.5495 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1389, allocations: 0 / 0.5495 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.1392, allocations: 55.97 kB / 0.5495 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1392, allocations: 0 / 0.5495 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.1392, allocations: 7.938 kB / 0.5495 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1392, allocations: 0 / 0.5495 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.1392, allocations: 12 kB / 0.5495 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000636/0.1399, allocations: 478.1 kB / 0.55 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.689e-05/0.14, allocations: 104.9 kB / 0.5501 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.603e-05/0.14, allocations: 15.97 kB / 0.5501 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.1402, allocations: 12 kB / 0.5501 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.1402, allocations: 19.92 kB / 0.5501 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.1402, allocations: 11.98 kB / 0.5501 GB, free: 9.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002438/0.1405, allocations: 231.2 kB / 0.5504 GB, free: 8.797 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1405, allocations: 0 / 0.5504 GB, free: 8.797 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004885/0.141, allocations: 96 kB / 0.5504 GB, free: 8.703 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (24): * Single equations (assignments): 23 * 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.001009/0.142, allocations: 1.013 MB / 0.5514 GB, free: 7.652 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008006/0.1428, allocations: 423.5 kB / 0.5518 GB, free: 7.227 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1428, allocations: 0 / 0.5518 GB, free: 7.227 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.143, allocations: 111.8 kB / 0.5519 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.1435, allocations: 69.72 kB / 0.552 GB, free: 7.055 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005467/0.149, allocations: 3.998 MB / 0.5559 GB, free: 2.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005805/0.1495, allocations: 0.8701 MB / 0.5568 GB, free: 1.875 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003094/0.1498, allocations: 115.2 kB / 0.5569 GB, free: 1.766 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.1501, allocations: 151.4 kB / 0.557 GB, free: 1.617 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1501, allocations: 0 / 0.557 GB, free: 1.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04164/0.1917, allocations: 7.503 MB / 0.5644 GB, free: 10.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.56, allocations: 6.109 kB / 0.5644 GB, free: 10.21 MB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --stepSize=8e-05 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.400382535066456] Failed to read output from testmodel.py, exit status != 0: 10.652435317169875 10.676132005 10.553579454 Calling exit ...