Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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_1Mod.Network,fileNamePrefix="OpenIPSL_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_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.001808/0.001808, allocations: 169 kB / 7.646 MB, free: 1.426 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.28/1.28, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.0008416/0.0008417, allocations: 93.91 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4772/0.4772, allocations: 78.07 MB / 409.3 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.799e-05/1.801e-05, allocations: 0 / 485 MB, free: 12.17 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 69.36 MB / 0.5414 GB, free: 6.746 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3679/0.4864, allocations: 98.68 MB / 0.6378 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/0.4866, allocations: 83.95 kB / 0.6378 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06053/0.5472, allocations: 22.7 MB / 0.66 GB, free: 10.02 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5472, allocations: 3.938 kB / 0.66 GB, free: 10.01 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.883e-05/0.5473, allocations: 24 kB / 0.66 GB, free: 9.988 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.003107/0.5504, allocations: 1.314 MB / 0.6613 GB, free: 8.625 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.5504, allocations: 12.03 kB / 0.6613 GB, free: 8.613 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002288/0.5527, allocations: 398.3 kB / 0.6617 GB, free: 8.223 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.5539, allocations: 0.6293 MB / 0.6623 GB, free: 7.555 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/0.5541, allocations: 189.8 kB / 0.6625 GB, free: 7.34 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.5542, allocations: 39.91 kB / 0.6625 GB, free: 7.301 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009848/0.5552, allocations: 0.5809 MB / 0.6631 GB, free: 6.719 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.5563, allocations: 0.6602 MB / 0.6637 GB, free: 6.043 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.5563, allocations: 1.219 kB / 0.6637 GB, free: 6.043 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.621e-05/0.5564, allocations: 7.984 kB / 0.6638 GB, free: 6.035 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.5564, allocations: 15.98 kB / 0.6638 GB, free: 6.02 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004978/0.5614, allocations: 3.039 MB / 0.6667 GB, free: 2.848 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01292/0.5743, allocations: 3.719 MB / 0.6704 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008173/0.5752, allocations: 391.2 kB / 0.6707 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.5753, allocations: 12.55 kB / 0.6708 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.5753, allocations: 39.12 kB / 0.6708 GB, free: 14.63 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 3.256e-06/0.5753, allocations: 0 / 0.6708 GB, free: 14.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=69): time 0.005782/0.5811, allocations: 1.949 MB / 0.6727 GB, free: 12.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.5812, allocations: 85.67 kB / 0.6728 GB, free: 12.56 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.5822, allocations: 0.6176 MB / 0.6734 GB, free: 11.94 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001432/0.5824, allocations: 33.69 kB / 0.6734 GB, free: 11.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/0.5827, allocations: 401.6 kB / 0.6738 GB, free: 11.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000258/0.583, allocations: 244.4 kB / 0.674 GB, free: 11.26 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.583, allocations: 0 / 0.674 GB, free: 11.26 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.5831, allocations: 337.9 kB / 0.6744 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005147/0.5837, allocations: 341.5 kB / 0.6747 GB, free: 10.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005563/0.5842, allocations: 422.7 kB / 0.6751 GB, free: 10.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006357/0.5849, allocations: 373.3 kB / 0.6754 GB, free: 9.789 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.5849, allocations: 0 / 0.6754 GB, free: 9.789 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.006239/0.5911, allocations: 2.18 MB / 0.6776 GB, free: 7.594 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002436/0.5914, allocations: 0.6983 MB / 0.6782 GB, free: 6.836 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.5914, allocations: 10.91 kB / 0.6783 GB, free: 6.828 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004428/0.5959, allocations: 1.054 MB / 0.6793 GB, free: 5.766 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007688/0.5967, allocations: 104.7 kB / 0.6794 GB, free: 5.664 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008442/0.6051, allocations: 4.576 MB / 0.6839 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.6063, allocations: 111.2 kB / 0.684 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.328e-05/0.6064, allocations: 27.98 kB / 0.684 GB, free: 0.832 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.6064, allocations: 7.953 kB / 0.684 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005925/0.6123, allocations: 2.046 MB / 0.686 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.6124, allocations: 0 / 0.686 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003817/0.6162, allocations: 1.047 MB / 0.687 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/0.6168, allocations: 107.8 kB / 0.6871 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008175/0.625, allocations: 4.565 MB / 0.6916 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.6261, allocations: 95.47 kB / 0.6917 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.672e-05/0.6263, allocations: 31.98 kB / 0.6917 GB, free: 8.789 MB / 0.4948 GB 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.0003391/0.6266, allocations: 118.5 kB / 0.6918 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005413/0.632, allocations: 1.95 MB / 0.6937 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004243/0.6325, allocations: 90.88 kB / 0.6938 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005522/0.638, allocations: 2.026 MB / 0.6958 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.6381, allocations: 8 kB / 0.6958 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.6381, allocations: 4 kB / 0.6958 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-05/0.6381, allocations: 6.547 kB / 0.6958 GB, free: 4.555 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.00796/0.6461, allocations: 3.295 MB / 0.699 GB, free: 1.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.6461, allocations: 4 kB / 0.699 GB, free: 1.164 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/0.6467, allocations: 79.89 kB / 0.6991 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002771/0.6495, allocations: 0.8764 MB / 0.7 GB, free: 208 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/0.6497, allocations: 11.98 kB / 0.7 GB, free: 196 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005996/0.6557, allocations: 3.548 MB / 0.7034 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.6557, allocations: 0 / 0.7034 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006226/0.6619, allocations: 2.605 MB / 0.706 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003471/0.6623, allocations: 195.7 kB / 0.7062 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.6625, allocations: 8 kB / 0.7062 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008307/0.6633, allocations: 70.94 kB / 0.7062 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003253/0.6636, allocations: 129.2 kB / 0.7064 GB, free: 9.465 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-05/0.6637, allocations: 19.98 kB / 0.7064 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006025/0.6643, allocations: 495.2 kB / 0.7069 GB, free: 8.969 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6643, allocations: 0 / 0.7069 GB, free: 8.969 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001388/0.6657, allocations: 479.1 kB / 0.7073 GB, free: 8.5 MB / 0.5105 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 () * 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.006372/0.6721, allocations: 3.332 MB / 0.7106 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006684/0.6788, allocations: 2.857 MB / 0.7134 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.6789, allocations: 1.875 kB / 0.7134 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002868/0.6817, allocations: 1.16 MB / 0.7145 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006823/0.6825, allocations: 55.3 kB / 0.7145 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/0.6861, allocations: 1.67 MB / 0.7162 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/0.6867, allocations: 1.016 MB / 0.7172 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005754/0.6872, allocations: 115.2 kB / 0.7173 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.6877, allocations: 315.3 kB / 0.7176 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of SimCode: time 7.31e-07/0.6877, allocations: 0 / 0.7176 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05231/0.74, allocations: 26.36 MB / 0.7433 GB, free: 3.602 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/0.7402, allocations: 146.7 kB / 0.7435 GB, free: 3.406 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.838/3.578, allocations: 1.75 kB / 0.7435 GB, free: 3.406 MB / 0.5417 GB (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network.fmu > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)