Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.001732/0.001732, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002179/0.002179, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.1866/0.1866, allocations: 38.53 MB / 352.5 MB, free: 12.65 MB / 286.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.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",fmuType="me",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.002073/0.002073, allocations: 70.56 kB / 492.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3125, allocations: 62.47 MB / 0.542 GB, free: 472 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.006074/0.3186, allocations: 4.563 MB / 0.5465 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002766/0.3214, allocations: 1.595 MB / 0.548 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.3215, allocations: 16.62 kB / 0.548 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008894/0.3224, allocations: 310 kB / 0.5483 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006072/0.323, allocations: 283.3 kB / 0.5486 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006866/0.3237, allocations: 253.7 kB / 0.5488 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007339/0.3245, allocations: 0.6077 MB / 0.5494 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003514/0.3248, allocations: 198.6 kB / 0.5496 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004628/0.3253, allocations: 280.4 kB / 0.5499 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005629/0.3258, allocations: 400.1 kB / 0.5503 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.298e-05/0.3259, allocations: 38.31 kB / 0.5503 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005041/0.3264, allocations: 253.2 kB / 0.5505 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.3267, allocations: 232.9 kB / 0.5508 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002682/0.3269, allocations: 251.3 kB / 0.551 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008702/0.3278, allocations: 0.6857 MB / 0.5517 GB, free: 9.234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3278, allocations: 0 / 0.5517 GB, free: 9.234 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3278, allocations: 0 / 0.5517 GB, free: 9.234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.3278, allocations: 1.188 kB / 0.5517 GB, free: 9.234 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001517/0.3293, allocations: 0.7114 MB / 0.5524 GB, free: 8.664 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3294, allocations: 13.77 kB / 0.5524 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/0.3295, allocations: 87.91 kB / 0.5525 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009111/0.3304, allocations: 129.3 kB / 0.5526 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007558/0.3311, allocations: 351.7 kB / 0.5529 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.3312, allocations: 36.2 kB / 0.553 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.3313, allocations: 52.42 kB / 0.553 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.3325, allocations: 0.6898 MB / 0.5537 GB, free: 7.766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.3325, allocations: 5.125 kB / 0.5537 GB, free: 7.762 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/0.3325, allocations: 12.72 kB / 0.5537 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002161/0.3327, allocations: 70.56 kB / 0.5538 GB, free: 7.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.3338, allocations: 0.6621 MB / 0.5544 GB, free: 7.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003992/0.3378, allocations: 2.574 MB / 0.5569 GB, free: 4.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006041/0.3384, allocations: 305.3 kB / 0.5572 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.3387, allocations: 189.7 kB / 0.5574 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.3387, allocations: 19.86 kB / 0.5574 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.3388, allocations: 38.55 kB / 0.5575 GB, free: 4.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 2.033e-06/0.3388, allocations: 4 kB / 0.5575 GB, free: 4.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002136/0.3409, allocations: 1.233 MB / 0.5587 GB, free: 3.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.341, allocations: 81.11 kB / 0.5587 GB, free: 3.047 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.3413, allocations: 296.5 kB / 0.559 GB, free: 2.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.3414, allocations: 29.7 kB / 0.5591 GB, free: 2.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.3416, allocations: 256.2 kB / 0.5593 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.3417, allocations: 142.9 kB / 0.5594 GB, free: 2.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.3418, allocations: 86.08 kB / 0.5595 GB, free: 2.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.342, allocations: 350.7 kB / 0.5598 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.3423, allocations: 188.8 kB / 0.56 GB, free: 1.695 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/0.3427, allocations: 332.9 kB / 0.5603 GB, free: 1.309 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007707/0.3435, allocations: 0.5468 MB / 0.5609 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3435, allocations: 0 / 0.5609 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001302/0.3448, allocations: 0.6823 MB / 0.5615 GB, free: 8 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.3448, allocations: 12.11 kB / 0.5616 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008565/0.3457, allocations: 483.4 kB / 0.562 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004462/0.3461, allocations: 113.6 kB / 0.5621 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.3464, allocations: 83.81 kB / 0.5622 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003135/0.3496, allocations: 3.067 MB / 0.5652 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.3498, allocations: 27.97 kB / 0.5652 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.124e-05/0.3499, allocations: 20 kB / 0.5652 GB, free: 11.97 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002926/0.3502, allocations: 205.7 kB / 0.5654 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.341e-05/0.3503, allocations: 35.77 kB / 0.5655 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007627/0.351, allocations: 480.6 kB / 0.5659 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/0.3511, allocations: 8 kB / 0.5659 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3511, allocations: 3.938 kB / 0.5659 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.3511, allocations: 11.98 kB / 0.566 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.3526, allocations: 0.9794 MB / 0.5669 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3526, allocations: 0 / 0.5669 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003628/0.353, allocations: 67.89 kB / 0.567 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.353, allocations: 7.938 kB / 0.567 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.353, allocations: 8 kB / 0.567 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.353, allocations: 8.047 kB / 0.567 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.353, allocations: 4 kB / 0.567 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.354, allocations: 0.7441 MB / 0.5677 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.3542, allocations: 67.66 kB / 0.5678 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.824e-05/0.3542, allocations: 8 kB / 0.5678 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.3544, allocations: 23.97 kB / 0.5678 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.3545, allocations: 15.97 kB / 0.5678 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.3545, allocations: 12 kB / 0.5679 GB, free: 9.199 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002224/0.3547, allocations: 211 kB / 0.5681 GB, free: 8.996 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3547, allocations: 4 kB / 0.5681 GB, free: 8.992 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005206/0.3553, allocations: 104 kB / 0.5682 GB, free: 8.891 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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.001463/0.3567, allocations: 1.336 MB / 0.5695 GB, free: 7.516 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.3578, allocations: 0.679 MB / 0.5701 GB, free: 6.812 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.3578, allocations: 0 / 0.5701 GB, free: 6.812 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002853/0.3581, allocations: 195.8 kB / 0.5703 GB, free: 6.621 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/0.3586, allocations: 75.14 kB / 0.5704 GB, free: 6.551 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006226/0.3648, allocations: 4.396 MB / 0.5747 GB, free: 1.938 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005565/0.3654, allocations: 0.8742 MB / 0.5755 GB, free: 1.031 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002854/0.3657, allocations: 107.2 kB / 0.5756 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.3659, allocations: 147.4 kB / 0.5758 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3659, allocations: 0 / 0.5758 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05753/0.4234, allocations: 8.647 MB / 0.5842 GB, free: 8.266 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.64, allocations: 2.578 kB / 0.5842 GB, free: 8.266 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.418335488066077] Failed to read output from testmodel.py, exit status != 0: 12.761129541089758 12.785799605 12.454719967 Calling exit ...