Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.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_2.Network,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007318/0.007318, allocations: 171.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.2 MB / 239 MB, free: 1.793 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.001017/0.001017, allocations: 102.2 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5283/0.5283, allocations: 78.59 MB / 419.9 MB, free: 44.26 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003807, allocations: 8 kB / 499.9 MB, free: 2.82 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3892, allocations: 69.34 MB / 0.5559 GB, free: 38.98 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1439/0.5331, allocations: 101.1 MB / 0.6546 GB, free: 5.391 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.5335, allocations: 83.95 kB / 0.6547 GB, free: 5.309 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0825/0.616, allocations: 29.97 MB / 0.6839 GB, free: 7.203 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.616, allocations: 3.938 kB / 0.6839 GB, free: 7.199 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.272e-05/0.6161, allocations: 28 kB / 0.684 GB, free: 7.172 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.005142/0.6213, allocations: 1.811 MB / 0.6857 GB, free: 5.305 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.6213, allocations: 8.219 kB / 0.6857 GB, free: 5.297 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002058/0.6216, allocations: 114.4 kB / 0.6858 GB, free: 5.176 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002417/0.624, allocations: 418 kB / 0.6862 GB, free: 4.766 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002112/0.6261, allocations: 0.9503 MB / 0.6872 GB, free: 3.762 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003088/0.6264, allocations: 251.5 kB / 0.6874 GB, free: 3.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.6266, allocations: 68 kB / 0.6875 GB, free: 3.414 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.6286, allocations: 0.9993 MB / 0.6884 GB, free: 2.398 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.6286, allocations: 0 / 0.6884 GB, free: 2.398 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.25e-05/0.6287, allocations: 28 kB / 0.6885 GB, free: 2.371 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.6288, allocations: 16 kB / 0.6885 GB, free: 2.355 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.6308, allocations: 0.9733 MB / 0.6894 GB, free: 1.379 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006912/0.6377, allocations: 3.621 MB / 0.693 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01497/0.6527, allocations: 4.267 MB / 0.6971 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/0.6529, allocations: 12.64 kB / 0.6972 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.653, allocations: 51.16 kB / 0.6972 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=76): time 2.665e-06/0.653, allocations: 0 / 0.6972 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76): time 0.0154/0.6684, allocations: 4.688 MB / 0.7018 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.228e-05/0.6685, allocations: 111.5 kB / 0.7019 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/0.6707, allocations: 1.027 MB / 0.7029 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002147/0.6709, allocations: 41.7 kB / 0.7029 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000393/0.6713, allocations: 477 kB / 0.7034 GB, free: 2.785 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003129/0.6716, allocations: 279.9 kB / 0.7037 GB, free: 2.508 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.6717, allocations: 16 kB / 0.7037 GB, free: 2.492 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.6718, allocations: 334 kB / 0.704 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.6731, allocations: 0.572 MB / 0.7045 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.6744, allocations: 0.6742 MB / 0.7052 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.6757, allocations: 0.617 MB / 0.7058 GB, free: 276 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6757, allocations: 0 / 0.7058 GB, free: 276 kB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.008347/0.6841, allocations: 2.81 MB / 0.7085 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003002/0.6844, allocations: 0.6241 MB / 0.7092 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.6845, allocations: 0 / 0.7092 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004877/0.6893, allocations: 1.245 MB / 0.7104 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.6904, allocations: 159.7 kB / 0.7105 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/0.7023, allocations: 5.585 MB / 0.716 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.7041, allocations: 175.2 kB / 0.7161 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.7042, allocations: 27.98 kB / 0.7162 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.7042, allocations: 5.562 kB / 0.7162 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007821/0.7121, allocations: 2.625 MB / 0.7187 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.7121, allocations: 0 / 0.7187 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004735/0.7169, allocations: 1.246 MB / 0.72 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009777/0.7179, allocations: 147.8 kB / 0.7201 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/0.73, allocations: 5.567 MB / 0.7255 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.7318, allocations: 163.2 kB / 0.7257 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.732, allocations: 24 kB / 0.7257 GB, free: 11.54 MB / 0.5261 GB Warning: Assuming fixed start value for the following 1 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = true protected = true ) 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 76 * 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 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0007968/0.7328, allocations: 348.9 kB / 0.7261 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/0.733, allocations: 114.5 kB / 0.7262 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007297/0.7403, allocations: 2.646 MB / 0.7287 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.7404, allocations: 8 kB / 0.7288 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.7404, allocations: 4 kB / 0.7288 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.7404, allocations: 7.984 kB / 0.7288 GB, free: 8.379 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.7505, allocations: 4.24 MB / 0.7329 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.7505, allocations: 0 / 0.7329 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008628/0.7514, allocations: 107.9 kB / 0.733 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003559/0.755, allocations: 1.081 MB / 0.7341 GB, free: 2.848 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/0.7552, allocations: 23.98 kB / 0.7341 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008702/0.7639, allocations: 4.291 MB / 0.7383 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7639, allocations: 0 / 0.7383 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008891/0.7728, allocations: 3.449 MB / 0.7416 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005452/0.7734, allocations: 223.5 kB / 0.7419 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.7736, allocations: 20 kB / 0.7419 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.7748, allocations: 131.9 kB / 0.742 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003683/0.7752, allocations: 128.4 kB / 0.7421 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-05/0.7753, allocations: 20 kB / 0.7421 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001593/0.7769, allocations: 0.8114 MB / 0.7429 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7769, allocations: 0 / 0.7429 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0016/0.7785, allocations: 0.5538 MB / 0.7435 GB, free: 9.004 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (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,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * 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 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009354/0.7879, allocations: 4.124 MB / 0.7475 GB, free: 4.836 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008898/0.7968, allocations: 3.494 MB / 0.7509 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.7969, allocations: 112 / 0.7509 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00342/0.8003, allocations: 1.385 MB / 0.7523 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.8014, allocations: 103.3 kB / 0.7524 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006413/0.8078, allocations: 4.318 MB / 0.7566 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007289/0.8086, allocations: 1.104 MB / 0.7577 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006779/0.8092, allocations: 125.9 kB / 0.7578 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006206/0.8099, allocations: 419.3 kB / 0.7582 GB, free: 9.629 MB / 0.5573 GB Notification: Performance of SimCode: time 9.21e-07/0.8099, allocations: 4 kB / 0.7582 GB, free: 9.625 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3355/1.145, allocations: 31.04 MB / 0.7885 GB, free: 145.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/1.146, allocations: 223.3 kB / 0.7887 GB, free: 145.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.119/4.265, allocations: 4 kB / 0.7887 GB, free: 145.1 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network.fmu > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)