Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001543/0.001543, allocations: 180.3 kB / 8.353 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.84/1.84, allocations: 194.3 MB / 203.1 MB, free: 13.03 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001916/0.001916, allocations: 124.1 kB / 248.1 MB, free: 24 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1718/0.1718, allocations: 37.94 MB / 330.9 MB, free: 2.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.319e-05/2.321e-05, allocations: 4 kB / 390.5 MB, free: 6.984 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3611, allocations: 53.22 MB / 443.7 MB, free: 17.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.4996, allocations: 96.26 MB / 0.5273 GB, free: 1.348 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.5, allocations: 87.94 kB / 0.5274 GB, free: 1.262 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3201/0.82, allocations: 14.47 MB / 0.5415 GB, free: 87.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.8201, allocations: 3.562 kB / 0.5415 GB, free: 87.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.49e-05/0.8201, allocations: 15.28 kB / 0.5415 GB, free: 87.96 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001069/0.8212, allocations: 0.6732 MB / 0.5422 GB, free: 87.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.8212, allocations: 8.031 kB / 0.5422 GB, free: 87.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005458/0.8218, allocations: 91.38 kB / 0.5423 GB, free: 87.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/0.8236, allocations: 0.8468 MB / 0.5431 GB, free: 86.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.8236, allocations: 12 kB / 0.5431 GB, free: 86.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.736e-05/0.8237, allocations: 24 kB / 0.5431 GB, free: 86.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005426/0.8242, allocations: 386.4 kB / 0.5435 GB, free: 85.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006459/0.8249, allocations: 0.5797 MB / 0.5441 GB, free: 85.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.8249, allocations: 0 / 0.5441 GB, free: 85.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.923e-05/0.825, allocations: 7.938 kB / 0.5441 GB, free: 85.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.328e-05/0.825, allocations: 40.77 kB / 0.5441 GB, free: 85.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.8273, allocations: 2.949 MB / 0.547 GB, free: 82.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.8277, allocations: 249.3 kB / 0.5472 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.8278, allocations: 137.7 kB / 0.5474 GB, free: 81.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.8279, allocations: 3.75 kB / 0.5474 GB, free: 81.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.8279, allocations: 42.5 kB / 0.5474 GB, free: 81.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.703e-06/0.8279, allocations: 4 kB / 0.5474 GB, free: 81.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001327/0.8293, allocations: 0.8699 MB / 0.5483 GB, free: 80.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.8293, allocations: 85.09 kB / 0.5483 GB, free: 80.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.8296, allocations: 269 kB / 0.5486 GB, free: 80.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.8296, allocations: 25.7 kB / 0.5486 GB, free: 80.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.8297, allocations: 279.2 kB / 0.5489 GB, free: 80.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.424e-05/0.8298, allocations: 90.66 kB / 0.549 GB, free: 79.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.735e-05/0.8298, allocations: 4.031 kB / 0.549 GB, free: 79.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.279e-05/0.8299, allocations: 346.7 kB / 0.5493 GB, free: 79.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.8301, allocations: 140.9 kB / 0.5494 GB, free: 79.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.8303, allocations: 310.6 kB / 0.5497 GB, free: 79.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.8306, allocations: 204.3 kB / 0.5499 GB, free: 78.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.8306, allocations: 7.953 kB / 0.5499 GB, free: 78.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008665/0.8315, allocations: 0.5613 MB / 0.5505 GB, free: 78.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.8315, allocations: 12.12 kB / 0.5505 GB, free: 78.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005594/0.8321, allocations: 362.5 kB / 0.5508 GB, free: 77.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004018/0.8325, allocations: 113.6 kB / 0.551 GB, free: 77.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.8328, allocations: 83.88 kB / 0.551 GB, free: 77.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.8349, allocations: 2.88 MB / 0.5538 GB, free: 74.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.8352, allocations: 19.92 kB / 0.5539 GB, free: 74.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.8353, allocations: 23.98 kB / 0.5539 GB, free: 74.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 43 * Array equations: 1 * 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%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.8354, allocations: 124.9 kB / 0.554 GB, free: 74.46 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004404/0.8358, allocations: 317.2 kB / 0.5543 GB, free: 74.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.8359, allocations: 31.62 kB / 0.5543 GB, free: 74.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005141/0.8364, allocations: 357.6 kB / 0.5547 GB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.8364, allocations: 8 kB / 0.5547 GB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.8365, allocations: 0 / 0.5547 GB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.8365, allocations: 0 / 0.5547 GB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009756/0.8375, allocations: 0.7889 MB / 0.5555 GB, free: 72.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.8375, allocations: 0 / 0.5555 GB, free: 72.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003512/0.8378, allocations: 67.89 kB / 0.5555 GB, free: 72.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.8378, allocations: 7.984 kB / 0.5555 GB, free: 72.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.8379, allocations: 4 kB / 0.5555 GB, free: 72.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.8379, allocations: 0 / 0.5555 GB, free: 72.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.8379, allocations: 4 kB / 0.5555 GB, free: 72.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005672/0.8385, allocations: 0.6007 MB / 0.5561 GB, free: 72.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.8386, allocations: 136.7 kB / 0.5563 GB, free: 72.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.8386, allocations: 7.984 kB / 0.5563 GB, free: 72.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.8388, allocations: 7.984 kB / 0.5563 GB, free: 72.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.8389, allocations: 15.98 kB / 0.5563 GB, free: 72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.8389, allocations: 8 kB / 0.5563 GB, free: 72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001577/0.839, allocations: 200.6 kB / 0.5565 GB, free: 71.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.839, allocations: 0 / 0.5565 GB, free: 71.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005301/0.8396, allocations: 111.9 kB / 0.5566 GB, free: 71.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * Array equations: 1 * 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.0009435/0.8405, allocations: 1.372 MB / 0.5579 GB, free: 70.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008078/0.8414, allocations: 0.5752 MB / 0.5585 GB, free: 69.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.8414, allocations: 0 / 0.5585 GB, free: 69.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.8415, allocations: 143.8 kB / 0.5586 GB, free: 69.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.842, allocations: 69.27 kB / 0.5587 GB, free: 69.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.8436, allocations: 0.9081 MB / 0.5596 GB, free: 68.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.8439, allocations: 0.8777 MB / 0.5604 GB, free: 67.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002979/0.8442, allocations: 107.2 kB / 0.5605 GB, free: 67.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.8444, allocations: 147.4 kB / 0.5607 GB, free: 67.37 MB / 378.7 MB Notification: Performance of SimCode: time 7.92e-07/0.8444, allocations: 4 kB / 0.5607 GB, free: 67.36 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.8709, allocations: 7.012 MB / 0.5675 GB, free: 60.36 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001534/0.8711, allocations: 136.9 kB / 0.5677 GB, free: 60.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.114/2.985, allocations: 4.031 kB / 0.5677 GB, free: 60.16 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)