Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.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_1.Network2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2",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.001151/0.001151, 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.286/1.286, allocations: 221.5 MB / 229.6 MB, free: 7.59 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.0008397/0.0008395, allocations: 90.86 kB / 280.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4991/0.4991, allocations: 78.94 MB / 410.2 MB, free: 6.066 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.947e-05/1.959e-05, allocations: 4 kB / 486 MB, free: 11.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1446, allocations: 69.51 MB / 0.5425 GB, free: 5.828 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3901/0.5348, allocations: 99.09 MB / 0.6393 GB, free: 14.92 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.535, allocations: 75.95 kB / 0.6394 GB, free: 14.84 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05891/0.594, allocations: 22.6 MB / 0.6614 GB, free: 8.301 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.594, allocations: 0 / 0.6614 GB, free: 8.301 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.074e-05/0.5941, allocations: 19.94 kB / 0.6615 GB, free: 8.281 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.003123/0.5972, allocations: 1.329 MB / 0.6628 GB, free: 6.902 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.5972, allocations: 12.03 kB / 0.6628 GB, free: 6.891 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002152/0.5994, allocations: 403.5 kB / 0.6632 GB, free: 6.496 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.6005, allocations: 0.6488 MB / 0.6638 GB, free: 5.809 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/0.6007, allocations: 211.5 kB / 0.664 GB, free: 5.566 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.6008, allocations: 47.91 kB / 0.664 GB, free: 5.52 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001019/0.6018, allocations: 0.5927 MB / 0.6646 GB, free: 4.926 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.603, allocations: 0.6758 MB / 0.6653 GB, free: 4.234 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.603, allocations: 3.125 kB / 0.6653 GB, free: 4.234 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.419e-05/0.6031, allocations: 0 / 0.6653 GB, free: 4.234 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.6031, allocations: 16 kB / 0.6653 GB, free: 4.219 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.005154/0.6083, allocations: 3.208 MB / 0.6684 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007658/0.616, allocations: 2.265 MB / 0.6706 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006495/0.6166, allocations: 403.1 kB / 0.671 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.684e-05/0.6167, allocations: 12.78 kB / 0.671 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.6168, allocations: 44.14 kB / 0.6711 GB, free: 14.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=72): time 4.578e-06/0.6168, allocations: 0 / 0.6711 GB, free: 14.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=72): time 0.004657/0.6215, allocations: 1.692 MB / 0.6727 GB, free: 12.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.6215, allocations: 85.89 kB / 0.6728 GB, free: 12.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.6226, allocations: 0.633 MB / 0.6734 GB, free: 11.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.7e-05/0.6226, allocations: 29.7 kB / 0.6735 GB, free: 11.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/0.6229, allocations: 416.2 kB / 0.6739 GB, free: 11.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.6232, allocations: 244.3 kB / 0.6741 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.6232, allocations: 4 kB / 0.6741 GB, free: 10.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6234, allocations: 338.7 kB / 0.6744 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000501/0.6239, allocations: 337.6 kB / 0.6747 GB, free: 10.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005677/0.6244, allocations: 429.9 kB / 0.6751 GB, free: 9.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005736/0.625, allocations: 374 kB / 0.6755 GB, free: 9.457 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.625, allocations: 0 / 0.6755 GB, free: 9.457 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.005284/0.6303, allocations: 1.919 MB / 0.6774 GB, free: 7.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002519/0.6306, allocations: 0.6192 MB / 0.678 GB, free: 6.852 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.6306, allocations: 3.953 kB / 0.678 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00384/0.6345, allocations: 0.9924 MB / 0.679 GB, free: 5.848 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006257/0.6351, allocations: 110.3 kB / 0.6791 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008134/0.6433, allocations: 4.373 MB / 0.6833 GB, free: 1.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.6445, allocations: 95.33 kB / 0.6834 GB, free: 1.156 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.548e-05/0.6446, allocations: 31.98 kB / 0.6835 GB, free: 1.125 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.6446, allocations: 4 kB / 0.6835 GB, free: 1.121 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00508/0.6497, allocations: 1.803 MB / 0.6852 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.6497, allocations: 0 / 0.6852 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003866/0.6536, allocations: 0.9937 MB / 0.6862 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005817/0.6542, allocations: 103.8 kB / 0.6863 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007529/0.6617, allocations: 4.38 MB / 0.6906 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.6628, allocations: 83.39 kB / 0.6906 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.02e-05/0.6629, allocations: 33.66 kB / 0.6907 GB, free: 9.586 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breaker1.vr.re:VARIABLE() "Real part of complex number" type: Real breaker1.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker2.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker2.vr.re:VARIABLE() "Real part of complex number" 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: 2 (breaker1.Open,breaker2.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003323/0.6633, allocations: 118.1 kB / 0.6908 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004483/0.6678, allocations: 1.702 MB / 0.6925 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.668, allocations: 90.97 kB / 0.6925 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004514/0.6725, allocations: 1.776 MB / 0.6943 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.6725, allocations: 10.25 kB / 0.6943 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.6725, allocations: 4 kB / 0.6943 GB, free: 5.848 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.6725, allocations: 3.984 kB / 0.6943 GB, free: 5.844 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.006232/0.6788, allocations: 3.056 MB / 0.6973 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.6788, allocations: 0 / 0.6973 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005425/0.6794, allocations: 83.95 kB / 0.6974 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002654/0.682, allocations: 0.8302 MB / 0.6982 GB, free: 1.785 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.249e-05/0.6821, allocations: 7.953 kB / 0.6982 GB, free: 1.777 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005771/0.6879, allocations: 3.433 MB / 0.7015 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.6879, allocations: 0 / 0.7015 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005412/0.6933, allocations: 2.357 MB / 0.7038 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003492/0.6937, allocations: 187.8 kB / 0.704 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.6939, allocations: 8 kB / 0.704 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000818/0.6947, allocations: 63.89 kB / 0.7041 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002873/0.695, allocations: 116.4 kB / 0.7042 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.695, allocations: 16 kB / 0.7042 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006337/0.6957, allocations: 495.2 kB / 0.7047 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6957, allocations: 0 / 0.7047 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00144/0.6971, allocations: 475.1 kB / 0.7051 GB, free: 10.48 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: 2 (breaker1.Open,breaker2.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 46 * 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 {(13,35.5%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005552/0.7027, allocations: 3.08 MB / 0.7081 GB, free: 7.355 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006188/0.7089, allocations: 2.74 MB / 0.7108 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.7089, allocations: 384 / 0.7108 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002495/0.7114, allocations: 1.115 MB / 0.7119 GB, free: 3.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006919/0.7121, allocations: 55.23 kB / 0.712 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/0.7159, allocations: 1.723 MB / 0.7136 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/0.7164, allocations: 1.032 MB / 0.7146 GB, free: 472 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005434/0.717, allocations: 119.2 kB / 0.7148 GB, free: 352 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004035/0.7174, allocations: 323.3 kB / 0.7151 GB, free: 28 kB / 0.5105 GB Notification: Performance of SimCode: time 6.51e-07/0.7174, allocations: 0 / 0.7151 GB, free: 28 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05163/0.769, allocations: 25.51 MB / 0.74 GB, free: 6.773 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/0.7693, allocations: 151.4 kB / 0.7401 GB, free: 6.582 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.751/3.52, allocations: 0 / 0.7401 GB, free: 6.582 MB / 0.5417 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2.fmu > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)