Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 113.8 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.389/1.389, allocations: 230.6 MB / 253.4 MB, free: 14.67 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 221.5 kB / 310 MB, free: 3.055 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.577/0.577, allocations: 101.3 MB / 467.8 MB, free: 30.48 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 86.52 kB / 0.6252 GB, free: 33.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1404, allocations: 78.61 MB / 0.7019 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource): time 0.007349/0.1477, allocations: 6.398 MB / 0.7082 GB, free: 10.63 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003864/0.1516, allocations: 1.892 MB / 0.71 GB, free: 8.738 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005258/0.1521, allocations: 8 kB / 0.71 GB, free: 8.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005571/0.1527, allocations: 234.1 kB / 0.7103 GB, free: 8.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.154, allocations: 0.6317 MB / 0.7109 GB, free: 7.867 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.1556, allocations: 0.7224 MB / 0.7116 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001763/0.1574, allocations: 1.462 MB / 0.713 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003533/0.1578, allocations: 203.8 kB / 0.7132 GB, free: 5.473 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007355/0.1585, allocations: 0.6108 MB / 0.7138 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009294/0.1594, allocations: 0.7624 MB / 0.7145 GB, free: 4.094 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.1596, allocations: 112 kB / 0.7146 GB, free: 3.984 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004402/0.16, allocations: 223.9 kB / 0.7149 GB, free: 3.766 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002981/0.1603, allocations: 294.8 kB / 0.7151 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005702/0.1609, allocations: 0.6292 MB / 0.7158 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.1627, allocations: 1.533 MB / 0.7172 GB, free: 1.305 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1627, allocations: 3.938 kB / 0.7173 GB, free: 1.301 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1627, allocations: 0 / 0.7173 GB, free: 1.301 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.98e-05/0.1627, allocations: 0 / 0.7173 GB, free: 1.301 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.008967/0.1717, allocations: 2.546 MB / 0.7197 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.1717, allocations: 12.03 kB / 0.7197 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.616e-05/0.1718, allocations: 17.31 kB / 0.7198 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.1719, allocations: 126.5 kB / 0.7199 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004258/0.1762, allocations: 0.6821 MB / 0.7206 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.1777, allocations: 0.7395 MB / 0.7213 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005013/0.1782, allocations: 444.1 kB / 0.7217 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.1784, allocations: 75.94 kB / 0.7218 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/0.1809, allocations: 1.168 MB / 0.7229 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.1809, allocations: 0 / 0.7229 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-05/0.181, allocations: 32 kB / 0.7229 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.181, allocations: 23.92 kB / 0.723 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002554/0.1836, allocations: 1.085 MB / 0.724 GB, free: 10.17 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006996/0.1906, allocations: 3.829 MB / 0.7278 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007472/0.198, allocations: 1.949 MB / 0.7297 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.1998, allocations: 0.6839 MB / 0.7303 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.94e-05/0.1999, allocations: 12.98 kB / 0.7303 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.1999, allocations: 51.56 kB / 0.7304 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=90): time 3.146e-06/0.1999, allocations: 0 / 0.7304 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=90): time 0.03604/0.2359, allocations: 8.416 MB / 0.7386 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.071e-05/0.236, allocations: 102 kB / 0.7387 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.2375, allocations: 0.9133 MB / 0.7396 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000202/0.2377, allocations: 41.7 kB / 0.7396 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004243/0.2381, allocations: 473.1 kB / 0.7401 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004497/0.2386, allocations: 329.1 kB / 0.7404 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004349/0.239, allocations: 162.6 kB / 0.7406 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.2392, allocations: 341.9 kB / 0.7409 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/0.2409, allocations: 0.6656 MB / 0.7415 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/0.2427, allocations: 0.8174 MB / 0.7423 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003466/0.2462, allocations: 1.502 MB / 0.7438 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.2462, allocations: 0 / 0.7438 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01638/0.2626, allocations: 4.476 MB / 0.7482 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.2626, allocations: 4 kB / 0.7482 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.2626, allocations: 4 kB / 0.7482 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008641/0.2712, allocations: 2.298 MB / 0.7504 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007852/0.272, allocations: 135.8 kB / 0.7506 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03119/0.3032, allocations: 11.01 MB / 0.7613 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.3048, allocations: 183.2 kB / 0.7615 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/0.305, allocations: 32 kB / 0.7615 GB, free: 3.23 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000543/0.3056, allocations: 225.7 kB / 0.7617 GB, free: 3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003395/0.3059, allocations: 119.2 kB / 0.7618 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01627/0.3222, allocations: 4.415 MB / 0.7662 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/0.3222, allocations: 8 kB / 0.7662 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3222, allocations: 0 / 0.7662 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.803e-05/0.3222, allocations: 3.984 kB / 0.7662 GB, free: 14.44 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01961/0.3419, allocations: 5.99 MB / 0.772 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.3419, allocations: 4 kB / 0.772 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005328/0.3424, allocations: 91.77 kB / 0.7721 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0081/0.3505, allocations: 2.163 MB / 0.7742 GB, free: 6.055 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002255/0.3507, allocations: 19.98 kB / 0.7742 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02784/0.3786, allocations: 9.767 MB / 0.7838 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.3786, allocations: 4 kB / 0.7838 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01885/0.3974, allocations: 5.417 MB / 0.7891 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005082/0.3979, allocations: 135.1 kB / 0.7892 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004104/0.3983, allocations: 23.92 kB / 0.7892 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.3998, allocations: 107.9 kB / 0.7893 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009346/0.4008, allocations: 228.6 kB / 0.7895 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/0.4009, allocations: 31.92 kB / 0.7896 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001129/0.402, allocations: 0.6269 MB / 0.7902 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.402, allocations: 0 / 0.7902 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001729/0.4038, allocations: 443.7 kB / 0.7906 GB, free: 5.109 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01945/0.4232, allocations: 5.999 MB / 0.7965 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008959/0.4322, allocations: 2.442 MB / 0.7989 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.4322, allocations: 0 / 0.7989 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006521/0.4387, allocations: 1.673 MB / 0.8005 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.44, allocations: 98.66 kB / 0.8006 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3245/0.7646, allocations: 15.88 MB / 0.8161 GB, free: 102 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.765, allocations: 1.065 MB / 0.8171 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003492/0.7653, allocations: 86.55 kB / 0.8172 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004389/0.7658, allocations: 410.5 kB / 0.8176 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.7658, allocations: 0 / 0.8176 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0871/0.8529, allocations: 38.59 MB / 0.8553 GB, free: 76.29 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.15/18, allocations: 7.922 kB / 0.8553 GB, free: 76.28 MB / 0.5762 GB " [Timeout remaining time 642] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.708522103959695] Failed to read output from testmodel.py, exit status != 0: 18.182923140004277 18.199869993 18.033984622 Calling exit ...