Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO") translateModel(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001347, allocations: 109.1 kB / 15.99 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 239.6 MB, free: 4.695 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 200.4 kB / 289.9 MB, free: 2.434 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5296/0.5296, allocations: 92.6 MB / 432.7 MB, free: 8.699 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 79.88 kB / 0.5029 GB, free: 7.227 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.376, allocations: 71.4 MB / 0.5726 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO): time 0.006163/0.3822, allocations: 6.973 MB / 0.5794 GB, free: 32.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003759/0.386, allocations: 2.006 MB / 0.5813 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000683/0.3867, allocations: 13.09 kB / 0.5814 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005673/0.3873, allocations: 188 kB / 0.5815 GB, free: 30.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.3885, allocations: 0.5077 MB / 0.582 GB, free: 30.35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.39, allocations: 0.7381 MB / 0.5828 GB, free: 29.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001294/0.3913, allocations: 1.496 MB / 0.5842 GB, free: 29.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003663/0.3916, allocations: 304.8 kB / 0.5845 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005623/0.3922, allocations: 0.6092 MB / 0.5851 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000645/0.3929, allocations: 0.7866 MB / 0.5859 GB, free: 28.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.393, allocations: 119.2 kB / 0.586 GB, free: 28.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003649/0.3934, allocations: 229.4 kB / 0.5862 GB, free: 28.33 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.3936, allocations: 313.2 kB / 0.5865 GB, free: 28.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003965/0.394, allocations: 0.6518 MB / 0.5871 GB, free: 27.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.395, allocations: 1.229 MB / 0.5883 GB, free: 27.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.395, allocations: 1.125 kB / 0.5883 GB, free: 27.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.395, allocations: 0 / 0.5883 GB, free: 27.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.395, allocations: 0 / 0.5883 GB, free: 27.21 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.008655/0.4037, allocations: 2.635 MB / 0.5909 GB, free: 26.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.4038, allocations: 10.19 kB / 0.5909 GB, free: 26.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004201/0.408, allocations: 0.6875 MB / 0.5916 GB, free: 25.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.4092, allocations: 0.8035 MB / 0.5924 GB, free: 25.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000319/0.4096, allocations: 347.9 kB / 0.5927 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.4097, allocations: 73.38 kB / 0.5928 GB, free: 24.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/0.4121, allocations: 1.204 MB / 0.594 GB, free: 24.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.4122, allocations: 0 / 0.594 GB, free: 24.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.612e-05/0.4123, allocations: 31.5 kB / 0.594 GB, free: 24.51 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.4123, allocations: 16.91 kB / 0.594 GB, free: 24.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002478/0.4148, allocations: 1.15 MB / 0.5951 GB, free: 24.14 MB / 430.1 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.007029/0.4218, allocations: 3.817 MB / 0.5989 GB, free: 21.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007766/0.4296, allocations: 2.575 MB / 0.6014 GB, free: 20.81 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002028/0.4317, allocations: 0.8193 MB / 0.6022 GB, free: 20.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.4318, allocations: 18.55 kB / 0.6022 GB, free: 20.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.4319, allocations: 44.72 kB / 0.6022 GB, free: 20.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 2.995e-06/0.4319, allocations: 0 / 0.6022 GB, free: 20.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.03822/0.4701, allocations: 8.861 MB / 0.6109 GB, free: 18.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.4702, allocations: 92.52 kB / 0.611 GB, free: 18.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.4715, allocations: 0.9113 MB / 0.6119 GB, free: 18.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000224/0.4718, allocations: 45.73 kB / 0.6119 GB, free: 18.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.4721, allocations: 472.6 kB / 0.6124 GB, free: 17.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003363/0.4724, allocations: 350.1 kB / 0.6127 GB, free: 17.31 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003575/0.4728, allocations: 172 kB / 0.6129 GB, free: 17.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.891e-05/0.4728, allocations: 342.9 kB / 0.6132 GB, free: 16.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.4744, allocations: 0.7017 MB / 0.6139 GB, free: 16.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.476, allocations: 0.8394 MB / 0.6147 GB, free: 16.03 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003064/0.4791, allocations: 1.566 MB / 0.6162 GB, free: 15.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.4791, allocations: 1.5 kB / 0.6162 GB, free: 15.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01457/0.4937, allocations: 4.547 MB / 0.6207 GB, free: 12.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.4938, allocations: 8 kB / 0.6207 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.4938, allocations: 0 / 0.6207 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006753/0.5005, allocations: 2.237 MB / 0.6228 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007853/0.5013, allocations: 159.8 kB / 0.623 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02444/0.5258, allocations: 10.94 MB / 0.6337 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/0.5277, allocations: 171.1 kB / 0.6338 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.5278, allocations: 36 kB / 0.6339 GB, free: 14.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (87): * Single equations (assignments): 86 * 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.0005242/0.5283, allocations: 237.6 kB / 0.6341 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002627/0.5286, allocations: 122.5 kB / 0.6342 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01572/0.5443, allocations: 4.462 MB / 0.6386 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.258e-05/0.5444, allocations: 23.88 kB / 0.6386 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5444, allocations: 0 / 0.6386 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.338e-05/0.5444, allocations: 3.984 kB / 0.6386 GB, free: 9.516 MB / 446.1 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 postOpt removeSimpleEquations (simulation): time 0.01826/0.5627, allocations: 6.127 MB / 0.6446 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.5628, allocations: 0 / 0.6446 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007528/0.5635, allocations: 115.8 kB / 0.6447 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007494/0.571, allocations: 2.12 MB / 0.6468 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001984/0.5713, allocations: 27.92 kB / 0.6468 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02526/0.5965, allocations: 9.697 MB / 0.6563 GB, free: 7.137 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5966, allocations: 8 kB / 0.6563 GB, free: 7.129 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01814/0.6147, allocations: 5.559 MB / 0.6617 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000536/0.6153, allocations: 211.5 kB / 0.6619 GB, free: 1.316 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/0.6155, allocations: 16 kB / 0.6619 GB, free: 1.301 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.6168, allocations: 123.8 kB / 0.662 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008277/0.6177, allocations: 240.7 kB / 0.6623 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.391e-05/0.6178, allocations: 24 kB / 0.6623 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001091/0.6189, allocations: 0.6271 MB / 0.6629 GB, free: 292 kB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6189, allocations: 0 / 0.6629 GB, free: 292 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.001506/0.6204, allocations: 455.6 kB / 0.6633 GB, free: 15.84 MB / 478.1 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 (62): * Single equations (assignments): 61 * 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.0002735/0.6207, allocations: 135 kB / 0.6635 GB, free: 15.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008975/0.6296, allocations: 2.61 MB / 0.666 GB, free: 13.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.6297, allocations: 0 / 0.666 GB, free: 13.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006402/0.6361, allocations: 1.763 MB / 0.6677 GB, free: 11.29 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.6375, allocations: 108.2 kB / 0.6678 GB, free: 11.18 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004719/0.6422, allocations: 2.498 MB / 0.6703 GB, free: 8.652 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007762/0.643, allocations: 1.081 MB / 0.6713 GB, free: 7.539 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003471/0.6434, allocations: 83.36 kB / 0.6714 GB, free: 7.457 MB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6434, allocations: 0 / 0.6714 GB, free: 7.457 MB / 478.1 MB Notification: Performance of Templates: time 0.02976/0.6732, allocations: 20.45 MB / 0.6914 GB, free: 2.992 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe 2>&1)