Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.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.Tutorial.Example_1.Example_1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_1_Example_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_1.Example_1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_1_Example_1",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.001314/0.001314, allocations: 175 kB / 12.73 MB, free: 2.59 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.231/1.231, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009076/0.0009078, allocations: 97.95 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.425/0.425, allocations: 78.9 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.007e-05/3.008e-05, allocations: 4 kB / 492.9 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2976, allocations: 69.5 MB / 0.5492 GB, free: 19.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1109/0.4086, allocations: 99.59 MB / 0.6465 GB, free: 15.99 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.4088, allocations: 79.95 kB / 0.6465 GB, free: 15.91 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05763/0.4665, allocations: 22.4 MB / 0.6684 GB, free: 9.324 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4665, allocations: 0 / 0.6684 GB, free: 9.324 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.641e-05/0.4665, allocations: 15.94 kB / 0.6684 GB, free: 9.309 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.002855/0.4694, allocations: 1.262 MB / 0.6697 GB, free: 8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.4694, allocations: 13.28 kB / 0.6697 GB, free: 7.988 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.4696, allocations: 98.52 kB / 0.6698 GB, free: 7.883 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002147/0.4717, allocations: 382.4 kB / 0.6701 GB, free: 7.508 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.4728, allocations: 0.6057 MB / 0.6707 GB, free: 6.859 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/0.473, allocations: 150.7 kB / 0.6709 GB, free: 6.695 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.4732, allocations: 63.86 kB / 0.6709 GB, free: 6.633 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.4744, allocations: 0.6823 MB / 0.6716 GB, free: 5.938 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.4744, allocations: 0 / 0.6716 GB, free: 5.938 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-05/0.4745, allocations: 24 kB / 0.6716 GB, free: 5.914 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.4745, allocations: 16 kB / 0.6716 GB, free: 5.898 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.4756, allocations: 0.5792 MB / 0.6722 GB, free: 5.316 MB / 490.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.00479/0.4803, allocations: 2.874 MB / 0.675 GB, free: 2.312 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.257/0.7374, allocations: 3.689 MB / 0.6786 GB, free: 107.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008323/0.7383, allocations: 397 kB / 0.679 GB, free: 107.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.67e-05/0.7384, allocations: 12.88 kB / 0.679 GB, free: 107.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.7384, allocations: 39.56 kB / 0.679 GB, free: 107.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.705e-06/0.7384, allocations: 0 / 0.679 GB, free: 107.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.005714/0.7441, allocations: 1.933 MB / 0.6809 GB, free: 107.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.7442, allocations: 84.64 kB / 0.681 GB, free: 107.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.7452, allocations: 0.666 MB / 0.6817 GB, free: 107.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.05e-05/0.7453, allocations: 39.06 kB / 0.6817 GB, free: 107.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.7455, allocations: 381 kB / 0.6821 GB, free: 107.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.7457, allocations: 235 kB / 0.6823 GB, free: 107 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.7458, allocations: 19.5 kB / 0.6823 GB, free: 107 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.925e-05/0.7459, allocations: 335.4 kB / 0.6826 GB, free: 106.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000564/0.7464, allocations: 336.9 kB / 0.6829 GB, free: 106.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006199/0.7471, allocations: 436.7 kB / 0.6834 GB, free: 106.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00063/0.7477, allocations: 380.5 kB / 0.6837 GB, free: 106.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.7477, allocations: 0.5938 kB / 0.6837 GB, free: 106.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006286/0.754, allocations: 2.181 MB / 0.6859 GB, free: 106.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.7542, allocations: 0.6991 MB / 0.6865 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.7542, allocations: 3.375 kB / 0.6865 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003691/0.7579, allocations: 1.02 MB / 0.6875 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005558/0.7584, allocations: 109.2 kB / 0.6876 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007193/0.7656, allocations: 4.455 MB / 0.692 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009973/0.7667, allocations: 132 kB / 0.6921 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.264e-05/0.7667, allocations: 23.89 kB / 0.6921 GB, free: 103.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.856e-06/0.7667, allocations: 3.594 kB / 0.6921 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005464/0.7722, allocations: 2.067 MB / 0.6942 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.7722, allocations: 0 / 0.6942 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003636/0.7759, allocations: 1.018 MB / 0.6952 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005289/0.7764, allocations: 104.7 kB / 0.6953 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007238/0.7837, allocations: 4.443 MB / 0.6996 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.7847, allocations: 112.5 kB / 0.6997 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/0.7848, allocations: 25.45 kB / 0.6997 GB, free: 100.4 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.avr.vref:VARIABLE(unit = "1" fixed = false 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 61 * 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.0002226/0.785, allocations: 137.6 kB / 0.6999 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.7852, allocations: 89.38 kB / 0.6999 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00493/0.7901, allocations: 2.033 MB / 0.7019 GB, free: 99.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.7901, allocations: 7.719 kB / 0.7019 GB, free: 99.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7901, allocations: 7.672 kB / 0.7019 GB, free: 99.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.7901, allocations: 0 / 0.7019 GB, free: 99.64 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005999/0.7961, allocations: 3.307 MB / 0.7052 GB, free: 98.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.7962, allocations: 3.188 kB / 0.7052 GB, free: 98.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004877/0.7967, allocations: 83.98 kB / 0.7053 GB, free: 98.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002403/0.7991, allocations: 0.8452 MB / 0.7061 GB, free: 97.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.985e-05/0.7991, allocations: 15.75 kB / 0.7061 GB, free: 97.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004686/0.8038, allocations: 3.357 MB / 0.7094 GB, free: 94.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.8039, allocations: 4.188 kB / 0.7094 GB, free: 94.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005249/0.8091, allocations: 2.591 MB / 0.7119 GB, free: 92.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.8093, allocations: 185.9 kB / 0.7121 GB, free: 91.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.8094, allocations: 15.42 kB / 0.7121 GB, free: 91.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007672/0.8102, allocations: 85.44 kB / 0.7122 GB, free: 91.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002729/0.8105, allocations: 129.4 kB / 0.7123 GB, free: 91.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/0.8106, allocations: 16 kB / 0.7123 GB, free: 91.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005285/0.8111, allocations: 0.5211 MB / 0.7128 GB, free: 91.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8111, allocations: 0 / 0.7128 GB, free: 91.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001093/0.8122, allocations: 483.7 kB / 0.7133 GB, free: 90.79 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.avr.vm,G1.avr.vr,G1.avr.vf1,G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * 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.005463/0.8177, allocations: 3.303 MB / 0.7165 GB, free: 87.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005623/0.8233, allocations: 2.8 MB / 0.7193 GB, free: 85.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.8233, allocations: 448 / 0.7193 GB, free: 85.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002257/0.8256, allocations: 1.122 MB / 0.7203 GB, free: 84.03 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007305/0.8264, allocations: 66.64 kB / 0.7204 GB, free: 83.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/0.8293, allocations: 1.636 MB / 0.722 GB, free: 82.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.8296, allocations: 0.9956 MB / 0.723 GB, free: 81.62 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004878/0.8301, allocations: 113.4 kB / 0.7231 GB, free: 81.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.8304, allocations: 300.3 kB / 0.7234 GB, free: 81.28 MB / 490.7 MB Notification: Performance of SimCode: time 6.41e-07/0.8304, allocations: 0 / 0.7234 GB, free: 81.28 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03696/0.8674, allocations: 27.36 MB / 0.7501 GB, free: 55.32 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001317/0.8676, allocations: 188 kB / 0.7503 GB, free: 55.09 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.506/3.374, allocations: 7 kB / 0.7503 GB, free: 55.09 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_1_Example_1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_1_Example_1.fmu > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)