Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_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_dev_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.003472/0.003471, allocations: 184 kB / 7.458 MB, free: 2.516 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.172/1.172, allocations: 221.4 MB / 229.3 MB, free: 3.059 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.001004/0.001004, allocations: 105.1 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.402/0.402, allocations: 78.9 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1315/0.5335, allocations: 75.67 MB / 485.5 MB, free: 3.523 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.8139, allocations: 69.5 MB / 0.542 GB, free: 20.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1188/0.9327, allocations: 99.02 MB / 0.6387 GB, free: 4.969 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.9331, allocations: 83.89 kB / 0.6387 GB, free: 4.887 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.06548/0.9986, allocations: 23.76 MB / 0.6619 GB, free: 12.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.9986, allocations: 8 kB / 0.6619 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002574/1.001, allocations: 418.2 kB / 0.6623 GB, free: 12.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/1.003, allocations: 0.6605 MB / 0.663 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/1.003, allocations: 215.5 kB / 0.6632 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/1.003, allocations: 40 kB / 0.6632 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001256/1.004, allocations: 0.5884 MB / 0.6638 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/1.006, allocations: 0.6759 MB / 0.6645 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/1.006, allocations: 0 / 0.6645 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/1.006, allocations: 3.906 kB / 0.6645 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/1.006, allocations: 16 kB / 0.6645 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006771/1.013, allocations: 3.429 MB / 0.6678 GB, free: 6.578 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/1.014, allocations: 0.6967 MB / 0.6685 GB, free: 5.863 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006138/1.015, allocations: 386.8 kB / 0.6689 GB, free: 5.484 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.856e-05/1.015, allocations: 20.56 kB / 0.6689 GB, free: 5.465 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/1.015, allocations: 39.22 kB / 0.6689 GB, free: 5.418 MB / 490.7 MB Notification: Performance of pre-optimization done (n=72): time 3.547e-06/1.015, allocations: 0 / 0.6689 GB, free: 5.418 MB / 490.7 MB Notification: Performance of matching and sorting (n=72): time 0.00508/1.02, allocations: 1.758 MB / 0.6707 GB, free: 3.645 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/1.02, allocations: 85.77 kB / 0.6707 GB, free: 3.543 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/1.021, allocations: 0.6252 MB / 0.6714 GB, free: 2.914 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001217/1.021, allocations: 25.7 kB / 0.6714 GB, free: 2.883 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/1.022, allocations: 284.2 kB / 0.6716 GB, free: 2.598 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003348/1.022, allocations: 244.3 kB / 0.6719 GB, free: 2.355 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/1.022, allocations: 4 kB / 0.6719 GB, free: 2.352 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/1.022, allocations: 330 kB / 0.6722 GB, free: 2.023 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006403/1.023, allocations: 349.5 kB / 0.6725 GB, free: 1.684 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006477/1.023, allocations: 429.8 kB / 0.6729 GB, free: 1.238 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006616/1.024, allocations: 378.1 kB / 0.6733 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.024, allocations: 0 / 0.6733 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.1632/1.187, allocations: 1.991 MB / 0.6752 GB, free: 144.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001341/1.187, allocations: 0.6088 MB / 0.6758 GB, free: 143.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/1.188, allocations: 3.031 kB / 0.6758 GB, free: 143.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004187/1.192, allocations: 1.028 MB / 0.6769 GB, free: 143.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000681/1.192, allocations: 115.3 kB / 0.677 GB, free: 143.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007562/1.2, allocations: 4.135 MB / 0.681 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/1.201, allocations: 105.7 kB / 0.6811 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/1.201, allocations: 26.88 kB / 0.6811 GB, free: 142.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.834e-06/1.201, allocations: 6.625 kB / 0.6811 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005371/1.207, allocations: 1.865 MB / 0.683 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.207, allocations: 3.844 kB / 0.683 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004027/1.211, allocations: 1.035 MB / 0.684 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/1.211, allocations: 100.4 kB / 0.6841 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007831/1.219, allocations: 4.132 MB / 0.6881 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/1.22, allocations: 90.86 kB / 0.6882 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/1.221, allocations: 22.41 kB / 0.6882 GB, free: 140.9 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.0003055/1.221, allocations: 131.9 kB / 0.6883 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/1.221, allocations: 91.12 kB / 0.6884 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004686/1.226, allocations: 1.832 MB / 0.6902 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/1.226, allocations: 11.28 kB / 0.6902 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/1.226, allocations: 3.281 kB / 0.6902 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/1.226, allocations: 3.562 kB / 0.6902 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006094/1.232, allocations: 3.04 MB / 0.6932 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/1.232, allocations: 0 / 0.6932 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005826/1.233, allocations: 81 kB / 0.6933 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002748/1.235, allocations: 0.853 MB / 0.6941 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.749e-05/1.235, allocations: 18.66 kB / 0.6941 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006185/1.242, allocations: 3.283 MB / 0.6973 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/1.242, allocations: 2.375 kB / 0.6973 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005723/1.247, allocations: 2.422 MB / 0.6997 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006442/1.254, allocations: 3.329 MB / 0.7029 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003977/1.254, allocations: 186.1 kB / 0.7031 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003001/1.255, allocations: 5.969 kB / 0.7031 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/1.256, allocations: 61.83 kB / 0.7032 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/1.256, allocations: 68.95 kB / 0.7033 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.77e-05/1.256, allocations: 21.34 kB / 0.7033 GB, free: 137.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007276/1.257, allocations: 487.6 kB / 0.7037 GB, free: 137.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002962/1.26, allocations: 477.2 kB / 0.7042 GB, free: 137.3 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.0002828/1.26, allocations: 147.7 kB / 0.7043 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006855/1.267, allocations: 2.677 MB / 0.707 GB, free: 136.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.267, allocations: 0 / 0.707 GB, free: 136.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002734/1.27, allocations: 1.101 MB / 0.708 GB, free: 135.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007565/1.27, allocations: 56.3 kB / 0.7081 GB, free: 135.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004471/1.275, allocations: 1.664 MB / 0.7097 GB, free: 134.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007301/1.276, allocations: 1.088 MB / 0.7108 GB, free: 134.1 MB / 490.7 MB Notification: Performance of SimCode: time 6.21e-07/1.276, allocations: 0 / 0.7108 GB, free: 134.1 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2.fmu > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)