Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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) Running command: "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2",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 4.0.0+maint.om/package.mo): time 0.002057/0.002057, allocations: 180.5 kB / 7.459 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.084/1.084, allocations: 221.4 MB / 229.3 MB, free: 3.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008324/0.0008324, allocations: 102.3 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3647/0.3647, allocations: 78.1 MB / 409 MB, free: 15.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1149/0.4797, allocations: 75.51 MB / 484.5 MB, free: 4.535 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.703, allocations: 69.34 MB / 0.5409 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09531/0.7983, allocations: 98.33 MB / 0.6369 GB, free: 6.516 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001653/0.7985, allocations: 83.95 kB / 0.637 GB, free: 6.434 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.0597/0.8582, allocations: 23.57 MB / 0.66 GB, free: 14.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.8583, allocations: 15.98 kB / 0.66 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002306/0.8606, allocations: 410.2 kB / 0.6604 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.8617, allocations: 0.6605 MB / 0.661 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001802/0.8619, allocations: 215.5 kB / 0.6612 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.862, allocations: 36 kB / 0.6613 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001022/0.863, allocations: 0.5962 MB / 0.6619 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.8642, allocations: 0.6759 MB / 0.6625 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.8642, allocations: 0 / 0.6625 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.664e-05/0.8643, allocations: 7.844 kB / 0.6625 GB, free: 11.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.8643, allocations: 16 kB / 0.6625 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005194/0.8695, allocations: 3.412 MB / 0.6659 GB, free: 8.324 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.8709, allocations: 0.7085 MB / 0.6666 GB, free: 7.602 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005603/0.8715, allocations: 394 kB / 0.6669 GB, free: 7.219 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.656e-05/0.8715, allocations: 12.64 kB / 0.6669 GB, free: 7.207 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.8716, allocations: 43.22 kB / 0.667 GB, free: 7.156 MB / 490.7 MB Notification: Performance of pre-optimization done (n=72): time 1.863e-06/0.8716, allocations: 0 / 0.667 GB, free: 7.156 MB / 490.7 MB Notification: Performance of matching and sorting (n=72): time 0.004708/0.8763, allocations: 1.758 MB / 0.6687 GB, free: 5.383 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.8764, allocations: 81.77 kB / 0.6688 GB, free: 5.285 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007197/0.8771, allocations: 0.6292 MB / 0.6694 GB, free: 4.652 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.838e-05/0.8771, allocations: 25.7 kB / 0.6694 GB, free: 4.621 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.8773, allocations: 284.2 kB / 0.6697 GB, free: 4.336 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/0.8775, allocations: 244.3 kB / 0.6699 GB, free: 4.094 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.8776, allocations: 0 / 0.6699 GB, free: 4.094 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.8777, allocations: 341.9 kB / 0.6703 GB, free: 3.754 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000531/0.8782, allocations: 337.6 kB / 0.6706 GB, free: 3.426 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005958/0.8788, allocations: 429.8 kB / 0.671 GB, free: 2.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005988/0.8794, allocations: 378.1 kB / 0.6713 GB, free: 2.613 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.8794, allocations: 3.938 kB / 0.6713 GB, free: 2.609 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.005613/0.8851, allocations: 1.992 MB / 0.6733 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1227/1.008, allocations: 0.6136 MB / 0.6739 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/1.008, allocations: 3.594 kB / 0.6739 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004033/1.012, allocations: 1.033 MB / 0.6749 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006044/1.012, allocations: 110.2 kB / 0.675 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007057/1.02, allocations: 4.129 MB / 0.679 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009355/1.021, allocations: 104.5 kB / 0.6791 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.487e-05/1.021, allocations: 21.06 kB / 0.6792 GB, free: 142.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.032e-06/1.021, allocations: 7.594 kB / 0.6792 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00503/1.026, allocations: 1.871 MB / 0.681 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.026, allocations: 0 / 0.681 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003762/1.029, allocations: 1.025 MB / 0.682 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000492/1.03, allocations: 105.2 kB / 0.6821 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006848/1.037, allocations: 4.132 MB / 0.6861 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008225/1.038, allocations: 88.22 kB / 0.6862 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.384e-05/1.038, allocations: 26.5 kB / 0.6862 GB, free: 141.5 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breaker1.vr.re:VARIABLE() "Real part of complex number" type: Real breaker1.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker2.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker2.vr.re:VARIABLE() "Real part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (breaker1.Open,breaker2.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002134/1.038, allocations: 122.4 kB / 0.6864 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/1.038, allocations: 96.61 kB / 0.6864 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004287/1.042, allocations: 1.832 MB / 0.6882 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/1.042, allocations: 10.03 kB / 0.6882 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.042, allocations: 3.906 kB / 0.6883 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.042, allocations: 3.656 kB / 0.6883 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005614/1.048, allocations: 3.049 MB / 0.6912 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.048, allocations: 0 / 0.6912 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005616/1.049, allocations: 82.52 kB / 0.6913 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002592/1.051, allocations: 0.8599 MB / 0.6921 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.22e-05/1.051, allocations: 11.2 kB / 0.6922 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004837/1.056, allocations: 3.277 MB / 0.6954 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.056, allocations: 3.844 kB / 0.6954 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005017/1.061, allocations: 2.424 MB / 0.6977 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005796/1.067, allocations: 3.333 MB / 0.701 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/1.067, allocations: 181.3 kB / 0.7012 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/1.067, allocations: 14.08 kB / 0.7012 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007732/1.068, allocations: 59.53 kB / 0.7012 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/1.068, allocations: 63.19 kB / 0.7013 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.959e-05/1.068, allocations: 21 kB / 0.7013 GB, free: 138.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005365/1.069, allocations: 483.9 kB / 0.7018 GB, free: 138.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002283/1.071, allocations: 480.7 kB / 0.7022 GB, free: 138 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.order6.delta,G1.order6.w,G1.order6.e1q,G1.order6.e1d,G1.order6.e2q,G1.order6.e2d,G1.aVRtypeIII.vm,G1.aVRtypeIII.vr,G1.aVRtypeIII.vf1) * Number of discrete variables: 2 (breaker1.Open,breaker2.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(13,35.5%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002213/1.071, allocations: 144.8 kB / 0.7024 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005872/1.077, allocations: 2.683 MB / 0.705 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.077, allocations: 1.406 kB / 0.705 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002322/1.08, allocations: 1.099 MB / 0.7061 GB, free: 136.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/1.08, allocations: 46.12 kB / 0.7061 GB, free: 136.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/1.084, allocations: 1.662 MB / 0.7077 GB, free: 136.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005837/1.084, allocations: 1.082 MB / 0.7088 GB, free: 135.4 MB / 490.7 MB Notification: Performance of SimCode: time 2.81e-07/1.084, allocations: 0 / 0.7088 GB, free: 135.4 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2.fmu > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)