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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006356/0.006356, allocations: 170.2 kB / 15.11 MB, free: 6.055 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.365/1.365, allocations: 223.2 MB / 239 MB, free: 80 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009042/0.0009042, allocations: 98.5 kB / 290.2 MB, free: 4.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6089/0.6089, allocations: 79.44 MB / 420.8 MB, free: 36.43 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004458/0.0004459, allocations: 12 kB / 0.4891 GB, free: 6.238 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1557, allocations: 69.51 MB / 0.557 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4555/0.6113, allocations: 100.1 MB / 0.6548 GB, free: 1.059 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.6116, allocations: 83.95 kB / 0.6549 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06591/0.6775, allocations: 23.24 MB / 0.6775 GB, free: 9.785 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.6776, allocations: 0 / 0.6775 GB, free: 9.785 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.403e-05/0.6777, allocations: 16.44 kB / 0.6776 GB, free: 9.77 MB / 474.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.004659/0.6823, allocations: 1.541 MB / 0.6791 GB, free: 8.176 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.6824, allocations: 8.031 kB / 0.6791 GB, free: 8.168 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003257/0.6827, allocations: 102.5 kB / 0.6792 GB, free: 8.059 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002505/0.6852, allocations: 410.3 kB / 0.6796 GB, free: 7.656 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.6868, allocations: 0.637 MB / 0.6802 GB, free: 6.98 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002583/0.6871, allocations: 210.1 kB / 0.6804 GB, free: 6.746 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.6873, allocations: 71.95 kB / 0.6805 GB, free: 6.676 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.6891, allocations: 0.8696 MB / 0.6813 GB, free: 5.793 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.6892, allocations: 0 / 0.6813 GB, free: 5.793 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-05/0.6893, allocations: 28 kB / 0.6813 GB, free: 5.766 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.6893, allocations: 12 kB / 0.6813 GB, free: 5.754 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.691, allocations: 0.7664 MB / 0.6821 GB, free: 4.984 MB / 474.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.006101/0.6971, allocations: 3.156 MB / 0.6852 GB, free: 1.68 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01399/0.7111, allocations: 3.956 MB / 0.689 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.7113, allocations: 12.55 kB / 0.689 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.7113, allocations: 35.12 kB / 0.6891 GB, free: 13.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 3.637e-06/0.7114, allocations: 0 / 0.6891 GB, free: 13.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=69): time 0.01459/0.726, allocations: 4.285 MB / 0.6933 GB, free: 9.262 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.7261, allocations: 85.67 kB / 0.6933 GB, free: 9.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.7274, allocations: 0.6838 MB / 0.694 GB, free: 8.465 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002216/0.7276, allocations: 37.7 kB / 0.694 GB, free: 8.422 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/0.728, allocations: 404.4 kB / 0.6944 GB, free: 8.023 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004081/0.7285, allocations: 248.3 kB / 0.6947 GB, free: 7.777 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.984e-05/0.7285, allocations: 16 kB / 0.6947 GB, free: 7.762 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.7287, allocations: 334 kB / 0.695 GB, free: 7.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.7298, allocations: 489.8 kB / 0.6955 GB, free: 6.953 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.7309, allocations: 0.5763 MB / 0.696 GB, free: 6.348 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.7321, allocations: 0.5184 MB / 0.6965 GB, free: 5.828 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.7321, allocations: 3.938 kB / 0.6965 GB, free: 5.824 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.008182/0.7403, allocations: 2.622 MB / 0.6991 GB, free: 3.184 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003997/0.7407, allocations: 0.7148 MB / 0.6998 GB, free: 2.418 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.7407, allocations: 0 / 0.6998 GB, free: 2.418 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005073/0.7458, allocations: 1.285 MB / 0.7011 GB, free: 1.125 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007306/0.7466, allocations: 111.8 kB / 0.7012 GB, free: 1.016 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/0.7596, allocations: 5.875 MB / 0.7069 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.761, allocations: 131.3 kB / 0.707 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001909/0.7612, allocations: 27.98 kB / 0.7071 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.7612, allocations: 4.938 kB / 0.7071 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007726/0.769, allocations: 2.49 MB / 0.7095 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.769, allocations: 4 kB / 0.7095 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004877/0.7739, allocations: 1.28 MB / 0.7107 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006381/0.7746, allocations: 107.8 kB / 0.7108 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/0.7875, allocations: 5.869 MB / 0.7166 GB, free: 0.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.7888, allocations: 123.4 kB / 0.7167 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/0.789, allocations: 33.61 kB / 0.7167 GB, free: 0.8047 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real 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: 8 * Number of states: 0 () * Number of discrete variables: 1 (breaker.Open) * Number of discrete states: 0 () * Number of clocked 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.0007871/0.7898, allocations: 289.9 kB / 0.717 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003663/0.7902, allocations: 86.97 kB / 0.7171 GB, free: 436 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007183/0.7974, allocations: 2.476 MB / 0.7195 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.7974, allocations: 8 kB / 0.7195 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.062e-05/0.7975, allocations: 4 kB / 0.7195 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-05/0.7975, allocations: 3.984 kB / 0.7195 GB, free: 13.92 MB / 0.5105 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.01017/0.8077, allocations: 3.799 MB / 0.7232 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.8077, allocations: 4 kB / 0.7232 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006735/0.8084, allocations: 83.89 kB / 0.7233 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003636/0.812, allocations: 1.116 MB / 0.7244 GB, free: 8.805 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/0.8122, allocations: 23.98 kB / 0.7244 GB, free: 8.781 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009615/0.8218, allocations: 4.583 MB / 0.7289 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.8219, allocations: 8 kB / 0.7289 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008695/0.8306, allocations: 3.177 MB / 0.732 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004919/0.8311, allocations: 183.8 kB / 0.7322 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003501/0.8315, allocations: 20.11 kB / 0.7322 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.8326, allocations: 91.86 kB / 0.7323 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005241/0.8332, allocations: 132.3 kB / 0.7324 GB, free: 404 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.525e-05/0.8333, allocations: 16 kB / 0.7324 GB, free: 388 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001016/0.8343, allocations: 0.5342 MB / 0.733 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8343, allocations: 0 / 0.733 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002133/0.8365, allocations: 0.5075 MB / 0.7335 GB, free: 15.34 MB / 0.5261 GB 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 () * Number of clocked 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.008971/0.8455, allocations: 3.908 MB / 0.7373 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008874/0.8544, allocations: 3.331 MB / 0.7405 GB, free: 7.957 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.8544, allocations: 4.062 kB / 0.7405 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003474/0.8579, allocations: 1.329 MB / 0.7418 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000917/0.8589, allocations: 63.98 kB / 0.7419 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007291/0.8662, allocations: 4.024 MB / 0.7458 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008905/0.8671, allocations: 1.018 MB / 0.7468 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005702/0.8677, allocations: 68.86 kB / 0.7469 GB, free: 1.305 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006275/0.8684, allocations: 323.3 kB / 0.7472 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of SimCode: time 1.163e-06/0.8684, allocations: 0 / 0.7472 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05139/0.9198, allocations: 26.94 MB / 0.7735 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002491/0.9201, allocations: 218.3 kB / 0.7737 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.893/3.813, allocations: 0 / 0.7737 GB, free: 6.094 MB / 0.5573 GB (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)