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.0009854/0.0009854, allocations: 180.9 kB / 7.651 MB, free: 1.422 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.273/1.273, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.0008552/0.0008552, allocations: 96.05 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4568/0.4568, allocations: 78.94 MB / 410.2 MB, free: 6.008 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.99e-05/1.992e-05, allocations: 4 kB / 486 MB, free: 11.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.138, allocations: 69.53 MB / 0.5425 GB, free: 5.805 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4205/0.5586, allocations: 99.36 MB / 0.6396 GB, free: 14.6 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.5589, allocations: 84.48 kB / 0.6397 GB, free: 14.52 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06417/0.6231, allocations: 22.88 MB / 0.662 GB, free: 7.68 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6231, allocations: 0 / 0.662 GB, free: 7.68 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001077/0.6232, allocations: 20 kB / 0.662 GB, free: 7.66 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.004472/0.6277, allocations: 1.323 MB / 0.6633 GB, free: 6.289 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.6278, allocations: 16.02 kB / 0.6633 GB, free: 6.273 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002642/0.6304, allocations: 394.3 kB / 0.6637 GB, free: 5.887 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.6321, allocations: 0.6293 MB / 0.6643 GB, free: 5.219 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002558/0.6323, allocations: 195.9 kB / 0.6645 GB, free: 5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002636/0.6326, allocations: 39.91 kB / 0.6645 GB, free: 4.961 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001321/0.6339, allocations: 0.5809 MB / 0.6651 GB, free: 4.379 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.6354, allocations: 0.6602 MB / 0.6658 GB, free: 3.703 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.6354, allocations: 0 / 0.6658 GB, free: 3.703 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.751e-05/0.6355, allocations: 0 / 0.6658 GB, free: 3.703 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.6355, allocations: 12 kB / 0.6658 GB, free: 3.691 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.006493/0.642, allocations: 3.052 MB / 0.6687 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01324/0.6553, allocations: 3.699 MB / 0.6724 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008974/0.6562, allocations: 395.6 kB / 0.6727 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/0.6564, allocations: 12.55 kB / 0.6727 GB, free: 12.35 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/0.6565, allocations: 43.06 kB / 0.6728 GB, free: 12.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 4.408e-06/0.6565, allocations: 1.312 kB / 0.6728 GB, free: 12.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=69): time 0.006314/0.6628, allocations: 1.949 MB / 0.6747 GB, free: 10.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.6629, allocations: 85.67 kB / 0.6748 GB, free: 10.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.6642, allocations: 0.6215 MB / 0.6754 GB, free: 9.605 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001635/0.6644, allocations: 25.7 kB / 0.6754 GB, free: 9.574 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/0.6647, allocations: 408.3 kB / 0.6758 GB, free: 9.168 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003401/0.665, allocations: 240.4 kB / 0.676 GB, free: 8.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.848e-05/0.6651, allocations: 0 / 0.676 GB, free: 8.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.6653, allocations: 341.9 kB / 0.6764 GB, free: 8.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006033/0.6659, allocations: 333.6 kB / 0.6767 GB, free: 8.262 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006449/0.6665, allocations: 430.7 kB / 0.6771 GB, free: 7.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006693/0.6672, allocations: 377.3 kB / 0.6774 GB, free: 7.449 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.6672, allocations: 0 / 0.6774 GB, free: 7.449 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.006641/0.6739, allocations: 2.177 MB / 0.6796 GB, free: 5.258 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003233/0.6743, allocations: 0.6983 MB / 0.6802 GB, free: 4.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.6743, allocations: 0 / 0.6802 GB, free: 4.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004191/0.6785, allocations: 1.056 MB / 0.6813 GB, free: 3.438 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000714/0.6792, allocations: 111.8 kB / 0.6814 GB, free: 3.328 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009399/0.6887, allocations: 4.565 MB / 0.6858 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.69, allocations: 119.2 kB / 0.686 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.6902, allocations: 23.98 kB / 0.686 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.6902, allocations: 9.047 kB / 0.686 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006521/0.6967, allocations: 2.054 MB / 0.688 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/0.6968, allocations: 1.719 kB / 0.688 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004038/0.7009, allocations: 1.03 MB / 0.689 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006684/0.7016, allocations: 107.8 kB / 0.6891 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008811/0.7104, allocations: 4.584 MB / 0.6936 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.7117, allocations: 95.47 kB / 0.6937 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/0.7119, allocations: 28.08 kB / 0.6937 GB, free: 6.453 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.0004241/0.7123, allocations: 121.4 kB / 0.6938 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005806/0.7182, allocations: 1.954 MB / 0.6957 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003389/0.7185, allocations: 90.88 kB / 0.6958 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005609/0.7242, allocations: 2.028 MB / 0.6978 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.7242, allocations: 4 kB / 0.6978 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-05/0.7242, allocations: 8 kB / 0.6978 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.7242, allocations: 3.984 kB / 0.6978 GB, free: 2.211 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.007619/0.7319, allocations: 3.291 MB / 0.701 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.7319, allocations: 0 / 0.701 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005735/0.7325, allocations: 87.83 kB / 0.7011 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002804/0.7353, allocations: 0.8734 MB / 0.702 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.7354, allocations: 11.98 kB / 0.702 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006321/0.7418, allocations: 3.556 MB / 0.7054 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.7418, allocations: 4 kB / 0.7054 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006581/0.7484, allocations: 2.602 MB / 0.708 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004286/0.7489, allocations: 195.7 kB / 0.7082 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/0.7492, allocations: 4 kB / 0.7082 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.7502, allocations: 71.94 kB / 0.7082 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005445/0.7508, allocations: 128.3 kB / 0.7084 GB, free: 7.117 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-05/0.7509, allocations: 27.98 kB / 0.7084 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009032/0.7518, allocations: 483.2 kB / 0.7089 GB, free: 6.625 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7518, allocations: 0 / 0.7089 GB, free: 6.625 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00203/0.7539, allocations: 479.1 kB / 0.7093 GB, free: 6.156 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.00748/0.7614, allocations: 3.336 MB / 0.7126 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007424/0.7688, allocations: 2.855 MB / 0.7154 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.7689, allocations: 2.906 kB / 0.7154 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002933/0.7718, allocations: 1.166 MB / 0.7165 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009217/0.7728, allocations: 51.3 kB / 0.7165 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004568/0.7774, allocations: 1.658 MB / 0.7182 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006462/0.778, allocations: 1.016 MB / 0.7192 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007051/0.7788, allocations: 119.2 kB / 0.7193 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/0.7792, allocations: 319.3 kB / 0.7196 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/0.7792, allocations: 0 / 0.7196 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06186/0.8411, allocations: 26.38 MB / 0.7453 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002439/0.8414, allocations: 152.2 kB / 0.7455 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.801/3.642, allocations: 6 kB / 0.7455 GB, free: 1.047 MB / 0.5417 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)