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.001882/0.001882, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.753/1.753, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001785/0.001785, allocations: 122.2 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1633/0.1633, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.677e-05/4.701e-05, allocations: 4 kB / 397.6 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3276, allocations: 53.22 MB / 450.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5069/0.8346, allocations: 96.91 MB / 0.5349 GB, free: 32.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/0.8349, allocations: 96.02 kB / 0.535 GB, free: 32.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04295/0.8779, allocations: 14.59 MB / 0.5493 GB, free: 30.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.8779, allocations: 0 / 0.5493 GB, free: 30.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.784e-05/0.878, allocations: 15.72 kB / 0.5493 GB, free: 30.52 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.001147/0.8791, allocations: 0.675 MB / 0.5499 GB, free: 30.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.8792, allocations: 7.812 kB / 0.55 GB, free: 30.02 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.481e-05/0.8793, allocations: 82.39 kB / 0.55 GB, free: 29.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005777/0.8799, allocations: 90.11 kB / 0.5501 GB, free: 29.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/0.8818, allocations: 0.8488 MB / 0.5509 GB, free: 29.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.8819, allocations: 39.72 kB / 0.551 GB, free: 29.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.344e-05/0.882, allocations: 43.02 kB / 0.551 GB, free: 29.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008215/0.8828, allocations: 0.6286 MB / 0.5516 GB, free: 29.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.8828, allocations: 3.969 kB / 0.5516 GB, free: 29.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/0.8829, allocations: 18.09 kB / 0.5517 GB, free: 29.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.813e-05/0.883, allocations: 45.64 kB / 0.5517 GB, free: 29.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006373/0.8836, allocations: 452.8 kB / 0.5521 GB, free: 29.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/0.8862, allocations: 3.024 MB / 0.5551 GB, free: 27.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.8866, allocations: 258.8 kB / 0.5553 GB, free: 27.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.8868, allocations: 144.8 kB / 0.5555 GB, free: 27.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.08e-05/0.8868, allocations: 7.812 kB / 0.5555 GB, free: 27.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.8869, allocations: 37.98 kB / 0.5555 GB, free: 27.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.695e-06/0.8869, allocations: 7.938 kB / 0.5555 GB, free: 27.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001386/0.8883, allocations: 0.8939 MB / 0.5564 GB, free: 26.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.8883, allocations: 84.7 kB / 0.5565 GB, free: 26.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.8886, allocations: 275.8 kB / 0.5567 GB, free: 26.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.8886, allocations: 29.45 kB / 0.5568 GB, free: 26.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.8888, allocations: 290.1 kB / 0.557 GB, free: 26.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.85e-05/0.8888, allocations: 103.4 kB / 0.5571 GB, free: 26.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/0.8888, allocations: 7.656 kB / 0.5572 GB, free: 26.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.8889, allocations: 351.5 kB / 0.5575 GB, free: 26.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.8891, allocations: 145.1 kB / 0.5576 GB, free: 26.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.8894, allocations: 320.8 kB / 0.5579 GB, free: 25.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.8897, allocations: 212.4 kB / 0.5581 GB, free: 25.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.8897, allocations: 0 / 0.5581 GB, free: 25.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009239/0.8906, allocations: 0.6122 MB / 0.5587 GB, free: 25.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.8906, allocations: 7.875 kB / 0.5587 GB, free: 25.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006317/0.8913, allocations: 376 kB / 0.5591 GB, free: 25.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000408/0.8917, allocations: 114.7 kB / 0.5592 GB, free: 25.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.892, allocations: 89.88 kB / 0.5593 GB, free: 25.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/0.894, allocations: 3.008 MB / 0.5622 GB, free: 23.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.8944, allocations: 26.47 kB / 0.5623 GB, free: 23.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.8944, allocations: 15.62 kB / 0.5623 GB, free: 23.08 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.0001115/0.8945, allocations: 135.7 kB / 0.5624 GB, free: 22.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.028e-05/0.8946, allocations: 38.61 kB / 0.5624 GB, free: 22.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006129/0.8952, allocations: 372.5 kB / 0.5628 GB, free: 22.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.8952, allocations: 11.11 kB / 0.5628 GB, free: 22.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.8952, allocations: 0 / 0.5628 GB, free: 22.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.8952, allocations: 0 / 0.5628 GB, free: 22.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.8964, allocations: 0.8692 MB / 0.5637 GB, free: 22.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.8964, allocations: 3.906 kB / 0.5637 GB, free: 22.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/0.8967, allocations: 68.03 kB / 0.5637 GB, free: 22.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.8968, allocations: 7.969 kB / 0.5637 GB, free: 22.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.8968, allocations: 11.69 kB / 0.5637 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.8968, allocations: 7.562 kB / 0.5637 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8968, allocations: 0 / 0.5637 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/0.8974, allocations: 0.6177 MB / 0.5643 GB, free: 22.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.8976, allocations: 127.5 kB / 0.5645 GB, free: 22.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.8976, allocations: 11.44 kB / 0.5645 GB, free: 22.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.8978, allocations: 15.2 kB / 0.5645 GB, free: 22.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.8979, allocations: 19.28 kB / 0.5645 GB, free: 22.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.8979, allocations: 7.719 kB / 0.5645 GB, free: 22.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001711/0.8981, allocations: 214.9 kB / 0.5647 GB, free: 22.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.8981, allocations: 4 kB / 0.5647 GB, free: 22.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005587/0.8986, allocations: 124.1 kB / 0.5648 GB, free: 22.09 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.000944/0.8996, allocations: 1.387 MB / 0.5662 GB, free: 21.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008765/0.9005, allocations: 0.6158 MB / 0.5668 GB, free: 20.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.9005, allocations: 0 / 0.5668 GB, free: 20.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.9007, allocations: 148.5 kB / 0.5669 GB, free: 20.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.9011, allocations: 57.3 kB / 0.567 GB, free: 20.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.9026, allocations: 0.9341 MB / 0.5679 GB, free: 20.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.9029, allocations: 0.8829 MB / 0.5688 GB, free: 19.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003284/0.9033, allocations: 109.6 kB / 0.5689 GB, free: 19.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.9035, allocations: 142.7 kB / 0.569 GB, free: 19.72 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.9035, allocations: 0 / 0.569 GB, free: 19.72 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.9242, allocations: 7.523 MB / 0.5764 GB, free: 19.02 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.9244, allocations: 169.5 kB / 0.5765 GB, free: 18.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.15/3.074, allocations: 0 / 0.5765 GB, free: 18.8 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)