Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.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_1Mod.Network,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network",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.002303/0.002303, allocations: 179.9 kB / 7.455 MB, free: 2.246 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.177/1.177, allocations: 221.4 MB / 229.3 MB, free: 3.105 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.000999/0.000999, allocations: 97.34 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4109/0.4109, allocations: 78.92 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1348/0.5457, allocations: 75.66 MB / 485.5 MB, free: 3.527 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.8316, allocations: 69.5 MB / 0.542 GB, free: 20.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.9494, allocations: 99.29 MB / 0.6389 GB, free: 4.582 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.9497, allocations: 79.95 kB / 0.639 GB, free: 4.504 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.06787/1.018, allocations: 24.04 MB / 0.6625 GB, free: 12.22 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/1.018, allocations: 8 kB / 0.6625 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002626/1.02, allocations: 414.2 kB / 0.6629 GB, free: 11.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/1.022, allocations: 0.637 MB / 0.6635 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002588/1.022, allocations: 197.7 kB / 0.6637 GB, free: 10.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002264/1.022, allocations: 36 kB / 0.6637 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001363/1.024, allocations: 0.5806 MB / 0.6643 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/1.025, allocations: 0.6485 MB / 0.6649 GB, free: 9.629 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/1.025, allocations: 0 / 0.6649 GB, free: 9.629 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.331e-05/1.025, allocations: 3.984 kB / 0.6649 GB, free: 9.625 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/1.025, allocations: 23.91 kB / 0.665 GB, free: 9.602 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00598/1.031, allocations: 3.248 MB / 0.6681 GB, free: 6.195 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/1.032, allocations: 0.4952 MB / 0.6686 GB, free: 5.691 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006279/1.033, allocations: 394.8 kB / 0.669 GB, free: 5.305 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/1.033, allocations: 12.64 kB / 0.669 GB, free: 5.293 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/1.033, allocations: 47.16 kB / 0.669 GB, free: 5.238 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 3.256e-06/1.033, allocations: 0 / 0.669 GB, free: 5.238 MB / 490.7 MB Notification: Performance of matching and sorting (n=69): time 0.006124/1.039, allocations: 2.04 MB / 0.671 GB, free: 3.184 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/1.039, allocations: 85.77 kB / 0.6711 GB, free: 3.082 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/1.04, allocations: 0.6253 MB / 0.6717 GB, free: 2.453 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/1.04, allocations: 25.7 kB / 0.6718 GB, free: 2.422 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/1.041, allocations: 276.3 kB / 0.672 GB, free: 2.145 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002949/1.041, allocations: 232.5 kB / 0.6722 GB, free: 1.914 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.876e-05/1.041, allocations: 4 kB / 0.6722 GB, free: 1.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/1.041, allocations: 341.8 kB / 0.6726 GB, free: 1.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000595/1.042, allocations: 337.6 kB / 0.6729 GB, free: 1.242 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006398/1.042, allocations: 434.5 kB / 0.6733 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006508/1.043, allocations: 376.9 kB / 0.6737 GB, free: 436 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/1.043, allocations: 0 / 0.6737 GB, free: 436 kB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.1671/1.21, allocations: 2.262 MB / 0.6759 GB, free: 144 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/1.21, allocations: 0.6997 MB / 0.6766 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.21, allocations: 8.406 kB / 0.6766 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004075/1.214, allocations: 1.075 MB / 0.6776 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006302/1.215, allocations: 109.5 kB / 0.6777 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008186/1.223, allocations: 4.36 MB / 0.682 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/1.224, allocations: 126.2 kB / 0.6821 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/1.225, allocations: 24.44 kB / 0.6821 GB, free: 142 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.492e-06/1.225, allocations: 3.344 kB / 0.6821 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006229/1.231, allocations: 2.145 MB / 0.6842 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.231, allocations: 6.906 kB / 0.6842 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003974/1.235, allocations: 1.074 MB / 0.6853 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/1.235, allocations: 98.61 kB / 0.6854 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007895/1.243, allocations: 4.369 MB / 0.6896 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/1.244, allocations: 110.3 kB / 0.6897 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-05/1.244, allocations: 26.91 kB / 0.6898 GB, free: 140.4 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breaker.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker.vr.re:VARIABLE() "Real part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (breaker.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * 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 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002648/1.245, allocations: 118.5 kB / 0.6899 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/1.245, allocations: 93.59 kB / 0.69 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005584/1.251, allocations: 2.112 MB / 0.692 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/1.251, allocations: 7.5 kB / 0.692 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/1.251, allocations: 7.422 kB / 0.692 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/1.251, allocations: 3.469 kB / 0.692 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007038/1.258, allocations: 3.31 MB / 0.6953 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/1.258, allocations: 2.906 kB / 0.6953 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006131/1.258, allocations: 80.11 kB / 0.6954 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003057/1.261, allocations: 0.9016 MB / 0.6962 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.246e-05/1.261, allocations: 11.53 kB / 0.6962 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006278/1.268, allocations: 3.377 MB / 0.6995 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.268, allocations: 4.969 kB / 0.6996 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006825/1.275, allocations: 2.709 MB / 0.7022 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008188/1.283, allocations: 3.613 MB / 0.7057 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003239/1.283, allocations: 188.6 kB / 0.7059 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002465/1.283, allocations: 2.875 kB / 0.7059 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.285, allocations: 82.94 kB / 0.706 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/1.285, allocations: 71.45 kB / 0.7061 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.957e-05/1.285, allocations: 21.94 kB / 0.7061 GB, free: 136.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007746/1.286, allocations: 490.2 kB / 0.7065 GB, free: 136.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002781/1.288, allocations: 477.7 kB / 0.707 GB, free: 136.8 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: 1 (breaker.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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 {(11,37.2%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002768/1.289, allocations: 145 kB / 0.7071 GB, free: 136.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006531/1.295, allocations: 2.832 MB / 0.7099 GB, free: 135.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.295, allocations: 0 / 0.7099 GB, free: 135.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002566/1.298, allocations: 1.151 MB / 0.711 GB, free: 134.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/1.298, allocations: 55.84 kB / 0.7111 GB, free: 134.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004024/1.302, allocations: 1.619 MB / 0.7127 GB, free: 134.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006842/1.303, allocations: 1.075 MB / 0.7137 GB, free: 133.4 MB / 490.7 MB Notification: Performance of SimCode: time 8.11e-07/1.303, allocations: 2.906 kB / 0.7137 GB, free: 133.4 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network.fmu > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)