Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 112.2 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 219 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.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.194/0.194, allocations: 38.5 MB / 349.4 MB, free: 2.66 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 67.91 kB / 487.8 MB, free: 22.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1174, allocations: 62.42 MB / 0.5374 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.007103/0.1245, allocations: 4.64 MB / 0.5419 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002627/0.1271, allocations: 1.363 MB / 0.5432 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003013/0.1274, allocations: 19.81 kB / 0.5432 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.1287, allocations: 413.9 kB / 0.5436 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007045/0.1294, allocations: 254.8 kB / 0.5439 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005014/0.1299, allocations: 163.7 kB / 0.544 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008197/0.1307, allocations: 0.5607 MB / 0.5446 GB, free: 108 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005525/0.1312, allocations: 237.1 kB / 0.5448 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007421/0.132, allocations: 275 kB / 0.5451 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000712/0.1327, allocations: 295 kB / 0.5454 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.959e-05/0.1328, allocations: 32 kB / 0.5454 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.1332, allocations: 127.7 kB / 0.5455 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002876/0.1334, allocations: 195.5 kB / 0.5457 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000356/0.1338, allocations: 214.9 kB / 0.5459 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007986/0.1346, allocations: 0.5098 MB / 0.5464 GB, free: 14.24 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1346, allocations: 0 / 0.5464 GB, free: 14.24 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1346, allocations: 0 / 0.5464 GB, free: 14.24 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.996e-05/0.1346, allocations: 4 kB / 0.5464 GB, free: 14.24 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001422/0.136, allocations: 0.7141 MB / 0.5471 GB, free: 13.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1361, allocations: 8.031 kB / 0.5471 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.197e-05/0.1361, allocations: 9.188 kB / 0.5471 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.984e-05/0.1362, allocations: 74.72 kB / 0.5472 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006195/0.1368, allocations: 92.55 kB / 0.5473 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007097/0.1375, allocations: 415.4 kB / 0.5477 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.1376, allocations: 29.12 kB / 0.5477 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.1377, allocations: 39.98 kB / 0.5477 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008221/0.1385, allocations: 476.8 kB / 0.5482 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.1385, allocations: 3.984 kB / 0.5482 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.075e-05/0.1386, allocations: 15.98 kB / 0.5482 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/0.1387, allocations: 32.98 kB / 0.5482 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005819/0.1393, allocations: 335.7 kB / 0.5486 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002489/0.1418, allocations: 1.695 MB / 0.5502 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.1421, allocations: 153 kB / 0.5504 GB, free: 9.922 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.1423, allocations: 97.73 kB / 0.5505 GB, free: 9.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.1423, allocations: 288 / 0.5505 GB, free: 9.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.1423, allocations: 38.5 kB / 0.5505 GB, free: 9.773 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.1423, allocations: 4 kB / 0.5505 GB, free: 9.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001666/0.144, allocations: 0.8606 MB / 0.5513 GB, free: 8.836 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.144, allocations: 77.11 kB / 0.5514 GB, free: 8.742 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/0.1444, allocations: 308.5 kB / 0.5517 GB, free: 8.426 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.1444, allocations: 33.7 kB / 0.5517 GB, free: 8.387 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.1446, allocations: 256.1 kB / 0.552 GB, free: 8.133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/0.1447, allocations: 71.42 kB / 0.5521 GB, free: 8.062 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.1448, allocations: 57.92 kB / 0.5521 GB, free: 7.996 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.145, allocations: 346.8 kB / 0.5524 GB, free: 7.648 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.1451, allocations: 88.22 kB / 0.5525 GB, free: 7.562 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.1454, allocations: 193.4 kB / 0.5527 GB, free: 7.328 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/0.1458, allocations: 312.6 kB / 0.553 GB, free: 6.977 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1458, allocations: 4 kB / 0.553 GB, free: 6.973 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009505/0.1468, allocations: 452.8 kB / 0.5534 GB, free: 6.523 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1468, allocations: 4 kB / 0.5534 GB, free: 6.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006452/0.1475, allocations: 287.8 kB / 0.5537 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005356/0.148, allocations: 128.8 kB / 0.5538 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.1482, allocations: 63.84 kB / 0.5539 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003252/0.1515, allocations: 2.379 MB / 0.5562 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.1517, allocations: 19.92 kB / 0.5562 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.1517, allocations: 16 kB / 0.5563 GB, free: 3.5 MB / 414.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 (29): * Single equations (assignments): 28 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000277/0.152, allocations: 185.7 kB / 0.5564 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.435e-05/0.1521, allocations: 27.81 kB / 0.5565 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000476/0.1526, allocations: 257.3 kB / 0.5567 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.1526, allocations: 7.938 kB / 0.5567 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.1526, allocations: 0 / 0.5567 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1526, allocations: 0 / 0.5567 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.1538, allocations: 0.7156 MB / 0.5574 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.1538, allocations: 12 kB / 0.5574 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.154, allocations: 35.97 kB / 0.5575 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/0.1541, allocations: 28.84 kB / 0.5575 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.1541, allocations: 7.984 kB / 0.5575 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/0.1556, allocations: 1.596 MB / 0.5591 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.1556, allocations: 7.969 kB / 0.5591 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007532/0.1563, allocations: 418.8 kB / 0.5595 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-05/0.1564, allocations: 104.9 kB / 0.5596 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.1565, allocations: 12.03 kB / 0.5596 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.1566, allocations: 8 kB / 0.5596 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.1567, allocations: 11.98 kB / 0.5596 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.1567, allocations: 4 kB / 0.5596 GB, free: 15.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002418/0.1569, allocations: 219 kB / 0.5598 GB, free: 15.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1569, allocations: 0 / 0.5598 GB, free: 15.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005129/0.1574, allocations: 88 kB / 0.5599 GB, free: 15.5 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009077/0.1584, allocations: 0.9678 MB / 0.5608 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007638/0.1591, allocations: 390.4 kB / 0.5612 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1591, allocations: 0 / 0.5612 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.1595, allocations: 224.2 kB / 0.5614 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.1599, allocations: 64.5 kB / 0.5615 GB, free: 13.81 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004833/0.1648, allocations: 3.503 MB / 0.5649 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.1653, allocations: 0.8419 MB / 0.5657 GB, free: 9.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001824/0.1655, allocations: 58.92 kB / 0.5658 GB, free: 9.195 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.1657, allocations: 127.4 kB / 0.5659 GB, free: 9.07 MB / 430.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1657, allocations: 4 kB / 0.5659 GB, free: 9.066 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0333/0.199, allocations: 7.569 MB / 0.5733 GB, free: 1.637 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/12.81, allocations: 7.562 kB / 0.5733 GB, free: 1.633 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.823403784015682] Failed to read output from testmodel.py, exit status != 0: 12.965490631991997 12.9807985 12.842986398 Calling exit ...