Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.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.Network3,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3",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.0009247/0.0009247, allocations: 173.9 kB / 7.648 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.256/1.256, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.0008278/0.0008278, allocations: 83.62 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4636/0.4636, allocations: 78.94 MB / 410.2 MB, free: 5.98 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.074e-05/2.081e-05, allocations: 0 / 486 MB, free: 11.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1337, allocations: 69.51 MB / 0.5425 GB, free: 5.793 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4477/0.5815, allocations: 109.6 MB / 0.6496 GB, free: 4.395 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.5818, allocations: 85.08 kB / 0.6497 GB, free: 4.312 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1336/0.7154, allocations: 43.83 MB / 0.6925 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.795e-06/0.7155, allocations: 4 kB / 0.6925 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003541/0.7159, allocations: 47.88 kB / 0.6925 GB, free: 8.52 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.007786/0.7237, allocations: 2.042 MB / 0.6945 GB, free: 6.418 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.7238, allocations: 12.03 kB / 0.6945 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004778/0.7285, allocations: 0.6543 MB / 0.6952 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004892/0.7335, allocations: 1.372 MB / 0.6965 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008772/0.7344, allocations: 341.4 kB / 0.6968 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009701/0.7354, allocations: 83.89 kB / 0.6969 GB, free: 3.855 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00423/0.7397, allocations: 1.168 MB / 0.698 GB, free: 2.684 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004078/0.7438, allocations: 1.202 MB / 0.6992 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.232e-05/0.7439, allocations: 0 / 0.6992 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003263/0.7442, allocations: 3.25 kB / 0.6992 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.7443, allocations: 28 kB / 0.6992 GB, free: 1.391 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 preOpt removeSimpleEquations (simulation): time 0.01732/0.7616, allocations: 5.874 MB / 0.705 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01678/0.7784, allocations: 4.546 MB / 0.7094 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/0.7803, allocations: 0.6472 MB / 0.7101 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002329/0.7806, allocations: 27.09 kB / 0.7101 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.7806, allocations: 47.86 kB / 0.7101 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=120): time 7.665e-06/0.7806, allocations: 3.984 kB / 0.7101 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124): time 0.0173/0.7979, allocations: 5.028 MB / 0.715 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.7981, allocations: 222.9 kB / 0.7153 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003595/0.8017, allocations: 1.352 MB / 0.7166 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004513/0.8022, allocations: 25.7 kB / 0.7166 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009377/0.8032, allocations: 0.7336 MB / 0.7173 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009072/0.8041, allocations: 437.5 kB / 0.7177 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003708/0.8045, allocations: 0 / 0.7177 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002886/0.8048, allocations: 361.9 kB / 0.7181 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/0.8063, allocations: 0.6367 MB / 0.7187 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.808, allocations: 0.8112 MB / 0.7195 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/0.8098, allocations: 0.7204 MB / 0.7202 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.8098, allocations: 3.984 kB / 0.7202 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.008718/0.8186, allocations: 2.827 MB / 0.723 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006474/0.8193, allocations: 1.031 MB / 0.724 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.8193, allocations: 0 / 0.724 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006872/0.8262, allocations: 1.739 MB / 0.7257 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.8274, allocations: 181.5 kB / 0.7258 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007004/0.8344, allocations: 3.146 MB / 0.7289 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002909/0.8374, allocations: 203.8 kB / 0.7291 GB, free: 2.191 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003599/0.8378, allocations: 55.23 kB / 0.7292 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.8378, allocations: 0 / 0.7292 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00813/0.846, allocations: 2.558 MB / 0.7317 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.129e-05/0.8461, allocations: 0 / 0.7317 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006801/0.8529, allocations: 1.696 MB / 0.7333 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.854, allocations: 195.7 kB / 0.7335 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008805/0.8629, allocations: 4.363 MB / 0.7378 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/0.8657, allocations: 179.8 kB / 0.7379 GB, free: 8.996 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003834/0.8662, allocations: 51.98 kB / 0.738 GB, free: 8.945 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.G1.hYGOV.SimpleLag1.u:DUMMY_DER(fixed = false ) "Connector of Real input signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (G1.hYGOV.Position_Limiter.local_reset,G1.hYGOV.q.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 2 {1 6,11 54} Notification: Performance of prepare postOptimizeDAE: time 0.0007208/0.8669, allocations: 136.5 kB / 0.7381 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009018/0.8759, allocations: 2.794 MB / 0.7408 GB, free: 5.992 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007413/0.8767, allocations: 173.9 kB / 0.741 GB, free: 5.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008726/0.8854, allocations: 2.896 MB / 0.7438 GB, free: 2.898 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/0.8855, allocations: 16 kB / 0.7439 GB, free: 2.883 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.866e-05/0.8855, allocations: 4 kB / 0.7439 GB, free: 2.879 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.429e-05/0.8856, allocations: 9.938 kB / 0.7439 GB, free: 2.871 MB / 0.5417 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.0138/0.8994, allocations: 5.192 MB / 0.7489 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/0.8994, allocations: 8.062 kB / 0.7489 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003392/0.9028, allocations: 0.4916 MB / 0.7494 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003812/0.9067, allocations: 0.9978 MB / 0.7504 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004162/0.9071, allocations: 19.98 kB / 0.7504 GB, free: 12.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01387/0.921, allocations: 8.577 MB / 0.7588 GB, free: 3.023 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.9211, allocations: 0 / 0.7588 GB, free: 3.023 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3342/1.255, allocations: 3.86 MB / 0.7626 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007473/1.256, allocations: 294.9 kB / 0.7628 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008127/1.257, allocations: 11.27 kB / 0.7629 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002265/1.259, allocations: 200.7 kB / 0.763 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005462/1.26, allocations: 208.7 kB / 0.7632 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.065e-05/1.26, allocations: 34.42 kB / 0.7633 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001355/1.261, allocations: 1.013 MB / 0.7643 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/1.261, allocations: 0 / 0.7643 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001923/1.263, allocations: 0.5775 MB / 0.7648 GB, free: 135.2 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (G1.gENSAL.w,G1.gENSAL.delta,G1.gENSAL.Epq,G1.gENSAL.PSIkd,G1.gENSAL.PSIppq,G1.hYGOV.SimpleLag1.state,G1.hYGOV.q.y,G1.hYGOV.g.state,G1.hYGOV.Position_Limiter.y,G1.eXST1_1.imLeadLag.TF.x_scaled[1],G1.eXST1_1.Vm1.state,G1.eXST1_1.imDerivativeLag.x,G1.eXST1_1.TransducerDelay.state,G1.sTAB2A.transferFunction.x_scaled[1],G1.sTAB2A.transferFunction1.x_scaled[1],G1.sTAB2A.transferFunction2.x_scaled[1],G1.sTAB2A.transferFunction3.x_scaled[1],G1.sTAB2A.transferFunction4.x_scaled[1],G1.sTAB2A.transferFunction5.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,59.2%) 13} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.008122/1.271, allocations: 4.608 MB / 0.7693 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01001/1.281, allocations: 4.434 MB / 0.7737 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/1.281, allocations: 0 / 0.7737 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004542/1.286, allocations: 1.992 MB / 0.7756 GB, free: 133.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/1.287, allocations: 167.5 kB / 0.7758 GB, free: 133.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005693/1.293, allocations: 3.104 MB / 0.7788 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006572/1.294, allocations: 1.38 MB / 0.7801 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001185/1.295, allocations: 322 kB / 0.7804 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008976/1.296, allocations: 0.6487 MB / 0.7811 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.142e-06/1.296, allocations: 0 / 0.7811 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08842/1.384, allocations: 46 MB / 0.826 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/1.385, allocations: 150.8 kB / 0.8261 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.658/5.042, allocations: 1.547 kB / 0.8261 GB, free: 129.5 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network3.fmu > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.pipe 2>&1)