Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.00129/0.00129, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 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 0.8951/0.8951, allocations: 177.2 MB / 200.3 MB, free: 5.371 MB / 186.7 MB " [Timeout remaining time 179] 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.001607/0.001607, allocations: 168.3 kB / 257 MB, free: 12.81 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.3851/0.3851, allocations: 80.23 MB / 340.5 MB, free: 9.574 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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: translateModel(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource") translateModel(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 383.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.652e-05, allocations: 5.547 kB / 383.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource): time 0.0045/0.004517, allocations: 5.952 MB / 389.7 MB, free: 8.727 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003034/0.007551, allocations: 1.899 MB / 391.6 MB, free: 6.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002915/0.007843, allocations: 12 kB / 391.7 MB, free: 6.809 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003659/0.008209, allocations: 246 kB / 391.9 MB, free: 6.566 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008718/0.00908, allocations: 0.6441 MB / 392.5 MB, free: 5.918 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008783/0.009959, allocations: 0.713 MB / 393.3 MB, free: 5.203 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001228/0.01119, allocations: 1.497 MB / 394.8 MB, free: 3.703 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.01142, allocations: 209.8 kB / 395 MB, free: 3.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000608/0.01203, allocations: 0.8376 MB / 395.8 MB, free: 2.641 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005025/0.01253, allocations: 0.5958 MB / 396.4 MB, free: 2.043 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.01264, allocations: 120 kB / 396.5 MB, free: 1.926 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002386/0.01287, allocations: 211.9 kB / 396.7 MB, free: 1.719 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.01303, allocations: 302.7 kB / 397 MB, free: 1.422 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002558/0.01328, allocations: 434.5 kB / 397.4 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007602/0.01404, allocations: 1.124 MB / 398.6 MB, free: 15.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.01405, allocations: 0 / 398.6 MB, free: 15.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.01405, allocations: 0 / 398.6 MB, free: 15.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.148e-06/0.01406, allocations: 4 kB / 398.6 MB, free: 15.86 MB / 378.7 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.003833/0.01789, allocations: 2.537 MB / 401.1 MB, free: 13.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.01792, allocations: 8.031 kB / 401.1 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002087/0.02001, allocations: 0.8583 MB / 402 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005984/0.0206, allocations: 0.5334 MB / 402.5 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002136/0.02082, allocations: 440.1 kB / 402.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.274e-05/0.02091, allocations: 83.89 kB / 403 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000665/0.02158, allocations: 0.6835 MB / 403.7 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.02159, allocations: 0 / 403.7 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.456e-05/0.02164, allocations: 35.92 kB / 403.7 MB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.02166, allocations: 16 kB / 403.7 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004675/0.02212, allocations: 345.7 kB / 404.1 MB, free: 10.16 MB / 378.7 MB 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.002652/0.02478, allocations: 2.05 MB / 406.1 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.02668, allocations: 1.024 MB / 407.2 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.02693, allocations: 248.5 kB / 407.4 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-05/0.02701, allocations: 17 kB / 407.4 MB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.02704, allocations: 47.55 kB / 407.5 MB, free: 6.699 MB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 1.884e-06/0.02704, allocations: 0 / 407.5 MB, free: 6.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=90): time 0.01166/0.03869, allocations: 5.576 MB / 413 MB, free: 1.105 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.03873, allocations: 90.09 kB / 413.1 MB, free: 1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/0.03923, allocations: 0.742 MB / 413.9 MB, free: 244 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.601e-05/0.03928, allocations: 41.7 kB / 413.9 MB, free: 196 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.03943, allocations: 342.9 kB / 414.2 MB, free: 15.85 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.0396, allocations: 333.1 kB / 414.6 MB, free: 15.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.03978, allocations: 162.5 kB / 414.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.784e-05/0.03986, allocations: 353.8 kB / 415.1 MB, free: 15 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.04019, allocations: 206 kB / 415.3 MB, free: 14.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/0.04081, allocations: 373.4 kB / 415.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007461/0.04155, allocations: 0.6853 MB / 416.3 MB, free: 13.65 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.04156, allocations: 0 / 416.3 MB, free: 13.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004703/0.04626, allocations: 2.66 MB / 419 MB, free: 10.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.04628, allocations: 11.59 kB / 419 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.04629, allocations: 4 kB / 419 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004758/0.05104, allocations: 2.092 MB / 421.1 MB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.05132, allocations: 135.8 kB / 421.2 MB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006835/0.05816, allocations: 4.29 MB / 425.5 MB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005125/0.05867, allocations: 139.3 kB / 425.7 MB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/0.05872, allocations: 28 kB / 425.7 MB, free: 4.18 MB / 394.7 MB 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.0001965/0.05891, allocations: 157.7 kB / 425.8 MB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.05905, allocations: 99.84 kB / 425.9 MB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004453/0.0635, allocations: 2.575 MB / 428.5 MB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.06351, allocations: 8 kB / 428.5 MB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.06351, allocations: 4 kB / 428.5 MB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.06351, allocations: 7.922 kB / 428.5 MB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005402/0.06892, allocations: 3.099 MB / 431.6 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.06892, allocations: 0 / 431.6 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.06911, allocations: 83.83 kB / 431.7 MB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004548/0.07366, allocations: 2.057 MB / 433.8 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.392e-05/0.0737, allocations: 16 kB / 433.8 MB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006316/0.08002, allocations: 4.002 MB / 437.8 MB, free: 7.934 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.08002, allocations: 3.938 kB / 437.8 MB, free: 7.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004852/0.08487, allocations: 2.886 MB / 440.7 MB, free: 5.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.08499, allocations: 111 kB / 440.8 MB, free: 4.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-05/0.08508, allocations: 16 kB / 440.8 MB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.08549, allocations: 75.92 kB / 440.9 MB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003294/0.08582, allocations: 232.5 kB / 441.1 MB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.08585, allocations: 12 kB / 441.1 MB, free: 4.582 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002754/0.08613, allocations: 403.2 kB / 441.5 MB, free: 4.176 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08613, allocations: 0 / 441.5 MB, free: 4.176 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000755/0.08688, allocations: 435.6 kB / 441.9 MB, free: 3.75 MB / 410.7 MB 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.0001562/0.08704, allocations: 100.3 kB / 442 MB, free: 3.641 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002429/0.08947, allocations: 1.452 MB / 443.5 MB, free: 2.168 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/0.08948, allocations: 12 kB / 443.5 MB, free: 2.156 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001974/0.09145, allocations: 1.118 MB / 444.6 MB, free: 1.023 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.09184, allocations: 116.1 kB / 444.7 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1239/0.2157, allocations: 1.765 MB / 446.5 MB, free: 60.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.2159, allocations: 217 kB / 446.7 MB, free: 60.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002314/0.2161, allocations: 82.19 kB / 446.8 MB, free: 60.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.2163, allocations: 149 kB / 446.9 MB, free: 60.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2163, allocations: 1.938 kB / 446.9 MB, free: 60.83 MB / 410.7 MB Notification: Performance of Templates: time 0.02281/0.2391, allocations: 29.08 MB / 476 MB, free: 42.68 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.sim & ./OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.48428736301139]