Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 97.61 kB / 16.5 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 195.5 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.1 MB / 223.3 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1972/0.1972, allocations: 38 MB / 308.6 MB, free: 6.238 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.59 kB / 374.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2943, allocations: 55.25 MB / 430 MB, free: 19.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.00568/0.3, allocations: 6.033 MB / 436 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002939/0.303, allocations: 2.05 MB / 438 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005052/0.3035, allocations: 31.81 kB / 438.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.3049, allocations: 430.3 kB / 438.5 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007154/0.3056, allocations: 270.8 kB / 438.8 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009364/0.3065, allocations: 323.5 kB / 439.1 MB, free: 10.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000859/0.3074, allocations: 1.083 MB / 440.2 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000528/0.3079, allocations: 353.6 kB / 440.5 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003282/0.3083, allocations: 290.8 kB / 440.8 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004715/0.3088, allocations: 482.5 kB / 441.3 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.573e-05/0.3088, allocations: 32 kB / 441.3 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.3091, allocations: 167.7 kB / 441.5 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.3093, allocations: 263.3 kB / 441.7 MB, free: 7.969 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.3096, allocations: 326.4 kB / 442 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005624/0.3102, allocations: 0.7866 MB / 442.8 MB, free: 6.859 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3102, allocations: 0 / 442.8 MB, free: 6.859 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.3102, allocations: 0 / 442.8 MB, free: 6.859 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3102, allocations: 0 / 442.8 MB, free: 6.859 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001653/0.3118, allocations: 0.9137 MB / 443.7 MB, free: 5.898 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.199e-05/0.3119, allocations: 11.97 kB / 443.7 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.312, allocations: 98.7 kB / 443.8 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009244/0.313, allocations: 132.1 kB / 444 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007243/0.3137, allocations: 0.508 MB / 444.5 MB, free: 5.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.3137, allocations: 40.92 kB / 444.5 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002919/0.314, allocations: 131.8 kB / 444.6 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00095/0.315, allocations: 0.8626 MB / 445.5 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.315, allocations: 3.984 kB / 445.5 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/0.3151, allocations: 20 kB / 445.5 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003897/0.3155, allocations: 68.94 kB / 445.6 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007621/0.3163, allocations: 0.6204 MB / 446.2 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003564/0.3198, allocations: 3.792 MB / 450 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.3209, allocations: 0.5421 MB / 450.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004538/0.3214, allocations: 319 kB / 450.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.242e-05/0.3214, allocations: 12.38 kB / 450.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.3215, allocations: 38.94 kB / 450.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.344e-06/0.3215, allocations: 0 / 450.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.003115/0.3246, allocations: 1.836 MB / 452.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.3247, allocations: 81.55 kB / 452.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/0.3251, allocations: 425.6 kB / 453.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/0.3251, allocations: 33.7 kB / 453.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.3253, allocations: 335.6 kB / 453.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.3255, allocations: 197.3 kB / 453.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.3257, allocations: 154.1 kB / 454 MB, free: 11.26 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002267/0.326, allocations: 370.7 kB / 454.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004908/0.3265, allocations: 381.5 kB / 454.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/0.3271, allocations: 0.6018 MB / 455.3 MB, free: 9.816 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.3284, allocations: 1.053 MB / 456.3 MB, free: 8.664 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3284, allocations: 4 kB / 456.3 MB, free: 8.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004223/0.3326, allocations: 2.011 MB / 458.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.3327, allocations: 8 kB / 458.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.3327, allocations: 11.94 kB / 458.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002536/0.3352, allocations: 0.9656 MB / 459.3 MB, free: 5.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.3357, allocations: 119.8 kB / 459.5 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01/0.3457, allocations: 7.376 MB / 466.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006415/0.3463, allocations: 35.97 kB / 466.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.691e-05/0.3464, allocations: 40.05 kB / 466.9 MB, free: 13.8 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * 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%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004494/0.3469, allocations: 249.6 kB / 467.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.347, allocations: 51.38 kB / 467.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.3483, allocations: 0.7295 MB / 467.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.3483, allocations: 8 kB / 467.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3483, allocations: 0 / 467.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.3483, allocations: 7.922 kB / 467.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002507/0.3508, allocations: 1.517 MB / 469.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/0.3508, allocations: 0 / 469.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.3519, allocations: 187.8 kB / 469.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.3519, allocations: 8 kB / 469.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/0.352, allocations: 31.98 kB / 469.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/0.352, allocations: 4 kB / 469.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.352, allocations: 0 / 469.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.3533, allocations: 0.9932 MB / 470.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.3534, allocations: 120.5 kB / 470.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-05/0.3535, allocations: 31.98 kB / 470.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.3539, allocations: 23.97 kB / 470.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.874e-05/0.354, allocations: 36.52 kB / 470.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.944e-05/0.354, allocations: 20 kB / 470.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002977/0.3543, allocations: 283.1 kB / 471.2 MB, free: 9.391 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3543, allocations: 0 / 471.2 MB, free: 9.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008783/0.3552, allocations: 212 kB / 471.4 MB, free: 9.184 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (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.v[3,1],line.v[3,2],line.v[3,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],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,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 (52): * Single equations (assignments): 51 * 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.001702/0.3569, allocations: 1.569 MB / 473 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002523/0.3595, allocations: 1.461 MB / 474.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3595, allocations: 0 / 474.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004348/0.3599, allocations: 310.4 kB / 474.7 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006872/0.3606, allocations: 122 kB / 474.8 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/0.3762, allocations: 9.99 MB / 484.8 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/0.3769, allocations: 0.9804 MB / 485.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006076/0.3775, allocations: 200.6 kB / 486 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/0.3778, allocations: 231.4 kB / 486.2 MB, free: 9.934 MB / 366.1 MB Notification: Performance of SimCode: time 1.001e-06/0.3778, allocations: 3.938 kB / 486.2 MB, free: 9.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03089/0.4087, allocations: 16.85 MB / 0.4913 GB, free: 9.07 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002372/0.409, allocations: 225.7 kB / 0.4915 GB, free: 8.801 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/2.518, allocations: 0 / 0.4915 GB, free: 8.801 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)