Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.001638/0.001638, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002407/0.002407, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.528/1.528, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2143/0.2143, allocations: 38.56 MB / 352.5 MB, free: 12.38 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.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line",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.002053/0.002053, allocations: 67.89 kB / 492.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3137, allocations: 62.46 MB / 0.5419 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.007757/0.3215, allocations: 4.767 MB / 0.5466 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002652/0.3242, allocations: 1.247 MB / 0.5478 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002783/0.3244, allocations: 21.75 kB / 0.5478 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005364/0.325, allocations: 109.1 kB / 0.5479 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000801/0.3258, allocations: 335.9 kB / 0.5483 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.3263, allocations: 161 kB / 0.5484 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009576/0.3272, allocations: 0.7004 MB / 0.5491 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.3275, allocations: 112.6 kB / 0.5492 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006026/0.3281, allocations: 335.1 kB / 0.5495 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007121/0.3288, allocations: 443.2 kB / 0.5499 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.7e-05/0.3289, allocations: 44.81 kB / 0.55 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.3291, allocations: 47.06 kB / 0.55 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003125/0.3294, allocations: 242.8 kB / 0.5503 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003471/0.3297, allocations: 242.4 kB / 0.5505 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000878/0.3306, allocations: 0.6177 MB / 0.5511 GB, free: 9.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3306, allocations: 1.031 kB / 0.5511 GB, free: 9.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3306, allocations: 3.938 kB / 0.5511 GB, free: 9.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.3306, allocations: 0 / 0.5511 GB, free: 9.562 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002232/0.3328, allocations: 0.8877 MB / 0.552 GB, free: 8.914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.3329, allocations: 13.02 kB / 0.552 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.333, allocations: 71.12 kB / 0.5521 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.3331, allocations: 54.64 kB / 0.5521 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.3346, allocations: 0.5503 MB / 0.5526 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/0.3346, allocations: 27.81 kB / 0.5527 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.3347, allocations: 39.41 kB / 0.5527 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009398/0.3357, allocations: 0.5533 MB / 0.5532 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3357, allocations: 0 / 0.5532 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.3357, allocations: 20.44 kB / 0.5533 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003147/0.3361, allocations: 86.97 kB / 0.5533 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000575/0.3366, allocations: 356.3 kB / 0.5537 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003215/0.3399, allocations: 1.934 MB / 0.5556 GB, free: 6.082 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008745/0.3407, allocations: 369.2 kB / 0.5559 GB, free: 5.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005349/0.3413, allocations: 289.5 kB / 0.5562 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.3413, allocations: 4 kB / 0.5562 GB, free: 5.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.3413, allocations: 42.48 kB / 0.5562 GB, free: 5.359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.074e-06/0.3413, allocations: 0 / 0.5562 GB, free: 5.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004581/0.3459, allocations: 1.937 MB / 0.5581 GB, free: 3.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.588e-05/0.346, allocations: 81.11 kB / 0.5582 GB, free: 3.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005073/0.3465, allocations: 393.5 kB / 0.5586 GB, free: 2.871 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.3465, allocations: 29.7 kB / 0.5586 GB, free: 2.836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.3468, allocations: 260.6 kB / 0.5589 GB, free: 2.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.3469, allocations: 134.9 kB / 0.559 GB, free: 2.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.3471, allocations: 106.2 kB / 0.5591 GB, free: 2.332 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002267/0.3473, allocations: 362.7 kB / 0.5594 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003883/0.3477, allocations: 240.9 kB / 0.5597 GB, free: 1.734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000464/0.3482, allocations: 358.1 kB / 0.56 GB, free: 1.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008655/0.349, allocations: 0.6195 MB / 0.5606 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.349, allocations: 0 / 0.5606 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001833/0.3509, allocations: 1.002 MB / 0.5616 GB, free: 15.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.3509, allocations: 8 kB / 0.5616 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.3509, allocations: 4 kB / 0.5616 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.3519, allocations: 417.5 kB / 0.562 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.3522, allocations: 79.91 kB / 0.5621 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005894/0.3581, allocations: 4.905 MB / 0.5669 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004004/0.3585, allocations: 48.06 kB / 0.5669 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/0.3586, allocations: 19.94 kB / 0.5669 GB, free: 9.961 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 (48): * Single equations (assignments): 46 * Array equations: 0 * 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,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003027/0.3589, allocations: 201.7 kB / 0.5671 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.118e-05/0.359, allocations: 43.72 kB / 0.5672 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.3605, allocations: 0.827 MB / 0.568 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3605, allocations: 4 kB / 0.568 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3606, allocations: 8 kB / 0.568 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.3606, allocations: 3.984 kB / 0.568 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.363, allocations: 1.343 MB / 0.5693 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.363, allocations: 4 kB / 0.5693 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.3631, allocations: 31.98 kB / 0.5693 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/0.3644, allocations: 453.3 kB / 0.5698 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.898e-05/0.3645, allocations: 31.97 kB / 0.5698 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006169/0.3706, allocations: 6.281 MB / 0.5759 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.3706, allocations: 3.938 kB / 0.5759 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.3725, allocations: 1.114 MB / 0.577 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.3727, allocations: 39.72 kB / 0.5771 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.933e-05/0.3728, allocations: 27.98 kB / 0.5771 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003029/0.3731, allocations: 35.94 kB / 0.5771 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.3732, allocations: 39.86 kB / 0.5772 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.3732, allocations: 19.92 kB / 0.5772 GB, free: 14.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003224/0.3735, allocations: 263.2 kB / 0.5774 GB, free: 14.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3735, allocations: 0 / 0.5774 GB, free: 14.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007237/0.3742, allocations: 160 kB / 0.5776 GB, free: 14.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.002225/0.3765, allocations: 1.679 MB / 0.5792 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001909/0.3784, allocations: 0.8686 MB / 0.5801 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3784, allocations: 256 / 0.5801 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001655/0.38, allocations: 0.8485 MB / 0.5809 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007797/0.3808, allocations: 125.4 kB / 0.581 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009556/0.3904, allocations: 6.28 MB / 0.5872 GB, free: 4.277 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.3907, allocations: 278.3 kB / 0.5874 GB, free: 3.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002891/0.391, allocations: 76.34 kB / 0.5875 GB, free: 3.902 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.3913, allocations: 155.4 kB / 0.5876 GB, free: 3.75 MB / 430.1 MB Notification: Performance of SimCode: time 1.452e-06/0.3913, allocations: 0 / 0.5876 GB, free: 3.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05673/0.448, allocations: 13.66 MB / 0.601 GB, free: 6.305 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.49, allocations: 0 / 0.601 GB, free: 6.305 MB / 446.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.79289452219382] Failed to read output from testmodel.py, exit status != 0: 12.613439052831382 12.641701062 12.306005503 Calling exit ...