Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.003397/0.003397, allocations: 181 kB / 7.458 MB, free: 2.508 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.146/1.146, allocations: 221.4 MB / 229.3 MB, free: 2.992 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.0009593/0.0009594, allocations: 88.09 kB / 280.1 MB, free: 1.215 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3904/0.3904, allocations: 78.06 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1465/0.5369, allocations: 75.51 MB / 484.4 MB, free: 4.316 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.8121, allocations: 69.35 MB / 0.5408 GB, free: 21.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1134/0.9255, allocations: 98.34 MB / 0.6369 GB, free: 6.422 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.9258, allocations: 75.95 kB / 0.6369 GB, free: 6.348 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.06496/0.9908, allocations: 23.57 MB / 0.6599 GB, free: 14.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.9909, allocations: 8 kB / 0.66 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/0.9934, allocations: 414.2 kB / 0.6603 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.9948, allocations: 0.6644 MB / 0.661 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/0.995, allocations: 211.5 kB / 0.6612 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.9952, allocations: 44 kB / 0.6612 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001193/0.9964, allocations: 0.5923 MB / 0.6618 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.9977, allocations: 0.6758 MB / 0.6625 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.9977, allocations: 0 / 0.6625 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.098e-05/0.9978, allocations: 3.906 kB / 0.6625 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.9978, allocations: 16 kB / 0.6625 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005585/1.003, allocations: 3.426 MB / 0.6658 GB, free: 8.227 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/1.005, allocations: 0.7084 MB / 0.6665 GB, free: 7.504 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005767/1.005, allocations: 390.2 kB / 0.6669 GB, free: 7.125 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-05/1.006, allocations: 8.656 kB / 0.6669 GB, free: 7.117 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/1.006, allocations: 39.22 kB / 0.667 GB, free: 7.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=72): time 1.933e-06/1.006, allocations: 0 / 0.667 GB, free: 7.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=72): time 0.005083/1.011, allocations: 1.758 MB / 0.6687 GB, free: 5.293 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/1.011, allocations: 85.77 kB / 0.6688 GB, free: 5.191 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009355/1.012, allocations: 0.6252 MB / 0.6694 GB, free: 4.562 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001104/1.012, allocations: 29.7 kB / 0.6694 GB, free: 4.527 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/1.012, allocations: 280.2 kB / 0.6697 GB, free: 4.246 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/1.012, allocations: 248.3 kB / 0.6699 GB, free: 4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/1.012, allocations: 0 / 0.6699 GB, free: 4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/1.012, allocations: 341.9 kB / 0.6702 GB, free: 3.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000586/1.013, allocations: 337.6 kB / 0.6705 GB, free: 3.332 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006488/1.014, allocations: 429.8 kB / 0.671 GB, free: 2.887 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006379/1.014, allocations: 374.1 kB / 0.6713 GB, free: 2.523 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/1.014, allocations: 7.938 kB / 0.6713 GB, free: 2.516 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.005926/1.02, allocations: 1.988 MB / 0.6733 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1671/1.187, allocations: 0.6135 MB / 0.6739 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/1.188, allocations: 6.875 kB / 0.6739 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004242/1.192, allocations: 1.03 MB / 0.6749 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006515/1.192, allocations: 114.8 kB / 0.675 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007293/1.2, allocations: 4.126 MB / 0.679 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/1.201, allocations: 102.8 kB / 0.6791 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-05/1.201, allocations: 28 kB / 0.6791 GB, free: 143 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/1.201, allocations: 3.906 kB / 0.6791 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005187/1.206, allocations: 1.868 MB / 0.681 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.206, allocations: 3.5 kB / 0.681 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003918/1.21, allocations: 1.027 MB / 0.682 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005156/1.211, allocations: 103.9 kB / 0.6821 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007219/1.218, allocations: 4.131 MB / 0.6861 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009326/1.219, allocations: 90.83 kB / 0.6862 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.935e-05/1.219, allocations: 23.83 kB / 0.6862 GB, free: 141.6 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.0002481/1.219, allocations: 127.5 kB / 0.6863 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/1.219, allocations: 91.69 kB / 0.6864 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004494/1.224, allocations: 1.831 MB / 0.6882 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/1.224, allocations: 9 kB / 0.6882 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/1.224, allocations: 3.625 kB / 0.6882 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/1.224, allocations: 7.703 kB / 0.6882 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00621/1.23, allocations: 3.039 MB / 0.6912 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.23, allocations: 0 / 0.6912 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/1.231, allocations: 87.56 kB / 0.6913 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0027/1.233, allocations: 0.8616 MB / 0.6921 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.346e-05/1.233, allocations: 11.5 kB / 0.6921 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005119/1.239, allocations: 3.271 MB / 0.6953 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.239, allocations: 5.906 kB / 0.6953 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005345/1.244, allocations: 2.423 MB / 0.6977 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006297/1.25, allocations: 3.332 MB / 0.701 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000274/1.25, allocations: 186 kB / 0.7011 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/1.251, allocations: 6.281 kB / 0.7011 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008272/1.251, allocations: 65.38 kB / 0.7012 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/1.252, allocations: 59.86 kB / 0.7013 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.23e-05/1.252, allocations: 20.81 kB / 0.7013 GB, free: 138.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006866/1.252, allocations: 486 kB / 0.7017 GB, free: 138.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002573/1.255, allocations: 483 kB / 0.7022 GB, free: 138.1 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.0003099/1.255, allocations: 143.3 kB / 0.7023 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006444/1.262, allocations: 2.679 MB / 0.705 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.279e-06/1.262, allocations: 0 / 0.705 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002515/1.264, allocations: 1.096 MB / 0.706 GB, free: 136.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/1.265, allocations: 46.42 kB / 0.7061 GB, free: 136.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/1.269, allocations: 1.675 MB / 0.7077 GB, free: 135.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006421/1.27, allocations: 1.08 MB / 0.7088 GB, free: 135.2 MB / 490.7 MB Notification: Performance of SimCode: time 8.31e-07/1.27, allocations: 0 / 0.7088 GB, free: 135.2 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2.fmu > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)