Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001724/0.001724, allocations: 188.6 kB / 8.14 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.208/1.208, allocations: 205.2 MB / 213.7 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008352/0.0008352, allocations: 100.1 kB / 261.8 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1655/0.1655, allocations: 37.97 MB / 347.7 MB, free: 7.457 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2472/0.4127, allocations: 62.43 MB / 410.1 MB, free: 46.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.5569, allocations: 56.33 MB / 466.4 MB, free: 6.371 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3506/0.9076, allocations: 101.3 MB / 0.5544 GB, free: 9.203 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003399/0.908, allocations: 87.94 kB / 0.5545 GB, free: 9.117 MB / 394.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.04562/0.9537, allocations: 14.86 MB / 0.569 GB, free: 10.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.9537, allocations: 8 kB / 0.569 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008094/0.9545, allocations: 99.27 kB / 0.5691 GB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002801/0.9574, allocations: 0.8571 MB / 0.5699 GB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.9574, allocations: 12 kB / 0.5699 GB, free: 9.035 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.9576, allocations: 24 kB / 0.57 GB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000942/0.9585, allocations: 385.8 kB / 0.5703 GB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.9596, allocations: 0.5955 MB / 0.5709 GB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.9596, allocations: 7.844 kB / 0.5709 GB, free: 7.969 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.726e-05/0.9597, allocations: 11.98 kB / 0.5709 GB, free: 7.957 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001148/0.9598, allocations: 40.75 kB / 0.571 GB, free: 7.918 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003649/0.9635, allocations: 2.957 MB / 0.5739 GB, free: 4.805 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.9639, allocations: 249.4 kB / 0.5741 GB, free: 4.543 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.9641, allocations: 145.7 kB / 0.5742 GB, free: 4.395 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.9642, allocations: 0 / 0.5742 GB, free: 4.395 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.9642, allocations: 46.55 kB / 0.5743 GB, free: 4.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.834e-06/0.9642, allocations: 7.875 kB / 0.5743 GB, free: 4.332 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001606/0.9658, allocations: 0.8827 MB / 0.5751 GB, free: 3.395 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.9659, allocations: 81.11 kB / 0.5752 GB, free: 3.297 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.9662, allocations: 259.4 kB / 0.5755 GB, free: 3.035 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.9663, allocations: 25.7 kB / 0.5755 GB, free: 3.004 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.9664, allocations: 267.2 kB / 0.5757 GB, free: 2.738 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.521e-05/0.9665, allocations: 90.66 kB / 0.5758 GB, free: 2.648 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.717e-05/0.9665, allocations: 0 / 0.5758 GB, free: 2.648 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.9667, allocations: 350.8 kB / 0.5762 GB, free: 2.297 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.9669, allocations: 140.8 kB / 0.5763 GB, free: 2.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000337/0.9673, allocations: 314.1 kB / 0.5766 GB, free: 1.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.9676, allocations: 204.8 kB / 0.5768 GB, free: 1.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.9677, allocations: 7.906 kB / 0.5768 GB, free: 1.562 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001193/0.9689, allocations: 0.5808 MB / 0.5774 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.9689, allocations: 4.625 kB / 0.5774 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007013/0.9696, allocations: 374.5 kB / 0.5777 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004344/0.97, allocations: 109.6 kB / 0.5778 GB, free: 492 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.9704, allocations: 92.08 kB / 0.5779 GB, free: 400 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003052/0.9735, allocations: 2.852 MB / 0.5807 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/0.9738, allocations: 8 kB / 0.5807 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.9738, allocations: 27.97 kB / 0.5807 GB, free: 13.27 MB / 426.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.0001431/0.974, allocations: 124.7 kB / 0.5809 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.907e-05/0.9741, allocations: 31.62 kB / 0.5809 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007626/0.9748, allocations: 381.4 kB / 0.5813 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.9749, allocations: 8 kB / 0.5813 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.9749, allocations: 0 / 0.5813 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.9749, allocations: 0 / 0.5813 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.9761, allocations: 0.8054 MB / 0.5821 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.9762, allocations: 4 kB / 0.5821 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004357/0.9766, allocations: 55.95 kB / 0.5821 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.9766, allocations: 4 kB / 0.5821 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.9767, allocations: 4 kB / 0.5821 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.9767, allocations: 3.938 kB / 0.5821 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.9767, allocations: 4 kB / 0.5821 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008129/0.9775, allocations: 0.6202 MB / 0.5827 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001198/0.9787, allocations: 1.156 MB / 0.5839 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.9789, allocations: 136.6 kB / 0.584 GB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.447e-05/0.9789, allocations: 0 / 0.584 GB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.9791, allocations: 7.984 kB / 0.584 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.9792, allocations: 15.98 kB / 0.584 GB, free: 9.742 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.9792, allocations: 12 kB / 0.584 GB, free: 9.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001989/0.9794, allocations: 199.1 kB / 0.5842 GB, free: 9.539 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00121/0.9807, allocations: 111.9 kB / 0.5843 GB, free: 9.43 MB / 426.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.00023/0.9809, allocations: 131.1 kB / 0.5844 GB, free: 9.293 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.9819, allocations: 0.571 MB / 0.585 GB, free: 8.703 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.9819, allocations: 4 kB / 0.585 GB, free: 8.699 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.9822, allocations: 151.8 kB / 0.5852 GB, free: 8.551 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.9825, allocations: 53.58 kB / 0.5852 GB, free: 8.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.9841, allocations: 0.7989 MB / 0.586 GB, free: 7.668 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000643/0.9847, allocations: 0.9232 MB / 0.5869 GB, free: 6.719 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.9847, allocations: 0 / 0.5869 GB, free: 6.719 MB / 426.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)