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.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: "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.52/1.52, allocations: 222.9 MB / 239 MB, free: 4.723 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.001897/0.001897, allocations: 192.5 kB / 289.3 MB, free: 2.473 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5896/0.5896, allocations: 92.61 MB / 432 MB, free: 8.715 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 83.86 kB / 0.5023 GB, free: 7.164 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.444/0.4463, allocations: 71.39 MB / 0.572 GB, free: 36.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource): time 0.005833/0.4522, allocations: 6.713 MB / 0.5786 GB, free: 32.61 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003715/0.456, allocations: 1.899 MB / 0.5804 GB, free: 31.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000541/0.4565, allocations: 11.22 kB / 0.5805 GB, free: 31.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005583/0.4572, allocations: 186.9 kB / 0.5806 GB, free: 31.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.4583, allocations: 0.4945 MB / 0.5811 GB, free: 30.85 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.4598, allocations: 0.726 MB / 0.5818 GB, free: 30.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001275/0.4611, allocations: 1.436 MB / 0.5832 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003553/0.4614, allocations: 297.8 kB / 0.5835 GB, free: 29.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004701/0.4619, allocations: 0.5836 MB / 0.5841 GB, free: 29.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006061/0.4625, allocations: 0.7572 MB / 0.5848 GB, free: 28.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.4627, allocations: 113.2 kB / 0.5849 GB, free: 28.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003644/0.463, allocations: 227.5 kB / 0.5851 GB, free: 28.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.4632, allocations: 289.8 kB / 0.5854 GB, free: 28.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003956/0.4636, allocations: 0.6333 MB / 0.586 GB, free: 28.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.4648, allocations: 1.518 MB / 0.5875 GB, free: 27.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4648, allocations: 0 / 0.5875 GB, free: 27.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4648, allocations: 3.938 kB / 0.5875 GB, free: 27.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.4649, allocations: 1.156 kB / 0.5875 GB, free: 27.61 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.008214/0.4731, allocations: 2.58 MB / 0.5901 GB, free: 26.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.4731, allocations: 17.31 kB / 0.5901 GB, free: 26.45 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001422/0.4733, allocations: 123.9 kB / 0.5902 GB, free: 26.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00422/0.4775, allocations: 0.6736 MB / 0.5908 GB, free: 26.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.4787, allocations: 0.7887 MB / 0.5916 GB, free: 25.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003154/0.4791, allocations: 343.1 kB / 0.5919 GB, free: 25.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.4792, allocations: 72 kB / 0.592 GB, free: 25.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.4815, allocations: 1.153 MB / 0.5931 GB, free: 24.87 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.4816, allocations: 1.125 kB / 0.5931 GB, free: 24.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.29e-05/0.4817, allocations: 30.22 kB / 0.5932 GB, free: 24.85 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.4817, allocations: 18.22 kB / 0.5932 GB, free: 24.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002257/0.4839, allocations: 1.073 MB / 0.5942 GB, free: 24.49 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.006722/0.4907, allocations: 3.888 MB / 0.598 GB, free: 22.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008053/0.4987, allocations: 2.493 MB / 0.6005 GB, free: 21.06 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/0.5007, allocations: 0.7516 MB / 0.6012 GB, free: 20.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/0.5009, allocations: 19.92 kB / 0.6012 GB, free: 20.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.5009, allocations: 40.38 kB / 0.6013 GB, free: 20.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.976e-06/0.5009, allocations: 0 / 0.6013 GB, free: 20.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.0376/0.5385, allocations: 8.426 MB / 0.6095 GB, free: 19.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.5386, allocations: 87.64 kB / 0.6096 GB, free: 19.17 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.5402, allocations: 0.9124 MB / 0.6105 GB, free: 18.65 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003264/0.5405, allocations: 41.36 kB / 0.6105 GB, free: 18.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/0.5408, allocations: 463.5 kB / 0.6109 GB, free: 18.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003442/0.5412, allocations: 318.9 kB / 0.6112 GB, free: 17.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003685/0.5416, allocations: 163.5 kB / 0.6114 GB, free: 17.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.93e-05/0.5416, allocations: 342.4 kB / 0.6117 GB, free: 17.49 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/0.5432, allocations: 0.6504 MB / 0.6124 GB, free: 17.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.5448, allocations: 0.8046 MB / 0.6131 GB, free: 16.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003023/0.5478, allocations: 1.487 MB / 0.6146 GB, free: 15.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.5478, allocations: 1.438 kB / 0.6146 GB, free: 15.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01527/0.5631, allocations: 4.46 MB / 0.619 GB, free: 13.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.5632, allocations: 12 kB / 0.619 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.5632, allocations: 4 kB / 0.619 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007139/0.5703, allocations: 2.241 MB / 0.6212 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000721/0.5711, allocations: 135.8 kB / 0.6213 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02491/0.596, allocations: 10.94 MB / 0.632 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/0.598, allocations: 159 kB / 0.6321 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.5982, allocations: 43.92 kB / 0.6322 GB, free: 15.55 MB / 446.1 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.0005683/0.5987, allocations: 229.7 kB / 0.6324 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002855/0.599, allocations: 114.6 kB / 0.6325 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01623/0.6153, allocations: 4.396 MB / 0.6368 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/0.6153, allocations: 16 kB / 0.6368 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6154, allocations: 0 / 0.6368 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-05/0.6154, allocations: 3.984 kB / 0.6368 GB, free: 10.78 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.01894/0.6343, allocations: 6.014 MB / 0.6427 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/0.6344, allocations: 0 / 0.6427 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005356/0.6349, allocations: 83.84 kB / 0.6428 GB, free: 4.539 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007822/0.6428, allocations: 2.12 MB / 0.6448 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001954/0.643, allocations: 16 kB / 0.6448 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02786/0.6709, allocations: 9.716 MB / 0.6543 GB, free: 8.531 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6709, allocations: 4 kB / 0.6543 GB, free: 8.527 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01864/0.6896, allocations: 5.391 MB / 0.6596 GB, free: 3.113 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000609/0.6902, allocations: 211.4 kB / 0.6598 GB, free: 2.887 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004785/0.6907, allocations: 19.94 kB / 0.6598 GB, free: 2.867 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/0.6923, allocations: 99.89 kB / 0.6599 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009781/0.6933, allocations: 228.8 kB / 0.6601 GB, free: 2.543 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001691/0.6935, allocations: 27.97 kB / 0.6602 GB, free: 2.516 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001249/0.6948, allocations: 0.623 MB / 0.6608 GB, free: 1.883 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6948, allocations: 0 / 0.6608 GB, free: 1.883 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002118/0.6969, allocations: 447.6 kB / 0.6612 GB, free: 1.445 MB / 462.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 (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.01919/0.7161, allocations: 5.963 MB / 0.667 GB, free: 11.45 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009158/0.7253, allocations: 2.512 MB / 0.6695 GB, free: 8.918 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.7254, allocations: 0 / 0.6695 GB, free: 8.918 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006583/0.732, allocations: 1.701 MB / 0.6711 GB, free: 7.207 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/0.7337, allocations: 100.8 kB / 0.6712 GB, free: 7.113 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05134/0.7851, allocations: 16.7 MB / 0.6875 GB, free: 5.996 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/0.7864, allocations: 1.069 MB / 0.6886 GB, free: 4.902 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005988/0.787, allocations: 90.69 kB / 0.6887 GB, free: 4.809 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008627/0.7879, allocations: 411.3 kB / 0.6891 GB, free: 4.406 MB / 494.1 MB Notification: Performance of SimCode: time 1.323e-06/0.7879, allocations: 0 / 0.6891 GB, free: 4.406 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08461/0.8726, allocations: 35.55 MB / 0.7238 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002761/0.8729, allocations: 233.7 kB / 0.724 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.116/3.989, allocations: 0 / 0.724 GB, free: 0.7695 MB / 0.5137 GB (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 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe 2>&1)