Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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.Line,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_latest_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.0008478/0.0008478, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.0009126/0.0009127, allocations: 180.9 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 223.2 MB / 241.1 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2774/0.2774, allocations: 38.07 MB / 330.3 MB, free: 14.19 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003196, allocations: 12 kB / 400.1 MB, free: 9.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2673, allocations: 59.16 MB / 459.2 MB, free: 30.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.005861/0.2732, allocations: 5.111 MB / 464.3 MB, free: 26.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003322/0.2766, allocations: 1.895 MB / 466.2 MB, free: 25.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003993/0.277, allocations: 30.09 kB / 466.3 MB, free: 25.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004348/0.2775, allocations: 137.7 kB / 466.4 MB, free: 25.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008934/0.2784, allocations: 302.8 kB / 466.7 MB, free: 24.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.2795, allocations: 334.4 kB / 467 MB, free: 24.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007254/0.2803, allocations: 424.3 kB / 467.4 MB, free: 24.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.2813, allocations: 0.569 MB / 468 MB, free: 24.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004446/0.2818, allocations: 259.2 kB / 468.2 MB, free: 24.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000537/0.2823, allocations: 343.7 kB / 468.6 MB, free: 23.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.559e-05/0.2824, allocations: 25.81 kB / 468.6 MB, free: 23.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.2827, allocations: 105.4 kB / 468.7 MB, free: 23.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002891/0.283, allocations: 236.7 kB / 468.9 MB, free: 23.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.2832, allocations: 132.8 kB / 469.1 MB, free: 23.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007199/0.2839, allocations: 0.6063 MB / 469.7 MB, free: 23.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.2839, allocations: 0 / 469.7 MB, free: 23.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2839, allocations: 1.125 kB / 469.7 MB, free: 23.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.2839, allocations: 4 kB / 469.7 MB, free: 23.66 MB / 350.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.001525/0.2855, allocations: 0.8025 MB / 470.5 MB, free: 23.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.2855, allocations: 8.594 kB / 470.5 MB, free: 23.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/0.2856, allocations: 106.1 kB / 470.6 MB, free: 23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009985/0.2866, allocations: 139.6 kB / 470.7 MB, free: 22.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009503/0.2876, allocations: 0.5014 MB / 471.2 MB, free: 22.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.2876, allocations: 38.62 kB / 471.3 MB, free: 22.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003458/0.288, allocations: 126.8 kB / 471.4 MB, free: 22.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.2892, allocations: 0.8539 MB / 472.3 MB, free: 22.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.2892, allocations: 2.938 kB / 472.3 MB, free: 22.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/0.2893, allocations: 17.38 kB / 472.3 MB, free: 22.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004712/0.2897, allocations: 77.38 kB / 472.3 MB, free: 22.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009753/0.2907, allocations: 0.6094 MB / 473 MB, free: 21.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004259/0.295, allocations: 3.794 MB / 476.7 MB, free: 19.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009251/0.2959, allocations: 0.5448 MB / 477.3 MB, free: 19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/0.296, allocations: 9.422 kB / 477.3 MB, free: 18.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.296, allocations: 41.66 kB / 477.3 MB, free: 18.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 2.324e-06/0.296, allocations: 5.25 kB / 477.3 MB, free: 18.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.002624/0.2987, allocations: 1.82 MB / 479.2 MB, free: 17.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.2987, allocations: 84.77 kB / 479.3 MB, free: 17.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/0.2991, allocations: 423.9 kB / 479.7 MB, free: 17.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.2991, allocations: 35.92 kB / 479.7 MB, free: 17.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.2993, allocations: 331.2 kB / 480 MB, free: 17.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.2994, allocations: 195.9 kB / 480.2 MB, free: 17.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.2995, allocations: 14.12 kB / 480.2 MB, free: 17.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.2996, allocations: 367.6 kB / 480.6 MB, free: 16.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004981/0.3001, allocations: 374.3 kB / 481 MB, free: 16.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005627/0.3006, allocations: 0.5887 MB / 481.5 MB, free: 16.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006174/0.3013, allocations: 468.4 kB / 482 MB, free: 15.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3013, allocations: 2.094 kB / 482 MB, free: 15.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004112/0.3054, allocations: 2.001 MB / 484 MB, free: 14.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.3054, allocations: 8 kB / 484 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.3054, allocations: 4 kB / 484 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001973/0.3074, allocations: 0.9614 MB / 485 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.3078, allocations: 119.8 kB / 485.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008089/0.3159, allocations: 7.65 MB / 492.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006217/0.3166, allocations: 39.95 kB / 492.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-05/0.3167, allocations: 32.06 kB / 492.8 MB, free: 5.398 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(23,24.6%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004118/0.3171, allocations: 249.5 kB / 493.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-05/0.3172, allocations: 47.44 kB / 493.1 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.3182, allocations: 0.7256 MB / 493.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.3182, allocations: 4 kB / 493.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.3182, allocations: 4 kB / 493.8 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3183, allocations: 3.984 kB / 493.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/0.3204, allocations: 1.524 MB / 495.4 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3204, allocations: 0 / 495.4 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000931/0.3214, allocations: 187.8 kB / 495.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/0.3214, allocations: 4 kB / 495.6 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-05/0.3215, allocations: 36.08 kB / 495.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.3215, allocations: 4.25 kB / 495.6 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3215, allocations: 0 / 495.6 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.3226, allocations: 1.032 MB / 496.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.3227, allocations: 136.4 kB / 496.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.528e-05/0.3228, allocations: 27.98 kB / 496.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.3231, allocations: 27.97 kB / 496.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.3232, allocations: 36.33 kB / 496.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.3232, allocations: 15.98 kB / 496.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002371/0.3235, allocations: 279.1 kB / 497.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3235, allocations: 0 / 497.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008289/0.3243, allocations: 212 kB / 497.3 MB, free: 0.7148 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001678/0.326, allocations: 1.887 MB / 499.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002623/0.3287, allocations: 1.442 MB / 0.4889 GB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3287, allocations: 0 / 0.4889 GB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000428/0.3291, allocations: 310.3 kB / 0.4892 GB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/0.3297, allocations: 106.8 kB / 0.4893 GB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/0.3441, allocations: 11.78 MB / 0.5008 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006234/0.3448, allocations: 0.9964 MB / 0.5018 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005741/0.3453, allocations: 200.6 kB / 0.502 GB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003345/0.3457, allocations: 235.3 kB / 0.5022 GB, free: 15.46 MB / 382.1 MB Notification: Performance of SimCode: time 1.583e-06/0.3457, allocations: 0 / 0.5022 GB, free: 15.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.3769, allocations: 16.44 MB / 0.5183 GB, free: 15.22 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.3772, allocations: 207.8 kB / 0.5185 GB, free: 14.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.26, allocations: 0 / 0.5185 GB, free: 14.98 MB / 398.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Line.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line_res.mat does not exist to compare? outputFormat=mat