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.005307/0.005307, allocations: 98.3 kB / 15.73 MB, free: 6.023 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.37/1.37, allocations: 222.9 MB / 239.4 MB, free: 4.562 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.001442/0.001442, allocations: 203.3 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5129/0.5129, allocations: 92.61 MB / 432.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 80.41 kB / 0.5732 GB, free: 33.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1203, allocations: 71.41 MB / 0.6429 GB, free: 3.113 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource): time 0.007479/0.1279, allocations: 6.316 MB / 0.6491 GB, free: 12.76 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004039/0.1319, allocations: 1.841 MB / 0.6509 GB, free: 10.92 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006035/0.1326, allocations: 12 kB / 0.6509 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006522/0.1333, allocations: 242 kB / 0.6511 GB, free: 10.67 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.1347, allocations: 0.5774 MB / 0.6517 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.1364, allocations: 0.7747 MB / 0.6525 GB, free: 9.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001737/0.1382, allocations: 1.447 MB / 0.6539 GB, free: 7.867 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004619/0.1387, allocations: 299.6 kB / 0.6542 GB, free: 7.562 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007209/0.1394, allocations: 0.5796 MB / 0.6547 GB, free: 6.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000909/0.1403, allocations: 0.7507 MB / 0.6555 GB, free: 6.227 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001865/0.1405, allocations: 116 kB / 0.6556 GB, free: 6.113 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000465/0.141, allocations: 223.9 kB / 0.6558 GB, free: 5.895 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002703/0.1413, allocations: 298.7 kB / 0.6561 GB, free: 5.602 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005875/0.1419, allocations: 0.6292 MB / 0.6567 GB, free: 4.969 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.1436, allocations: 1.537 MB / 0.6582 GB, free: 3.426 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1436, allocations: 0 / 0.6582 GB, free: 3.426 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.1436, allocations: 0 / 0.6582 GB, free: 3.426 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.1436, allocations: 3.938 kB / 0.6582 GB, free: 3.422 MB / 462.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.008503/0.1522, allocations: 2.613 MB / 0.6607 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.1522, allocations: 19.97 kB / 0.6608 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/0.1524, allocations: 118.5 kB / 0.6609 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00418/0.1566, allocations: 0.6822 MB / 0.6615 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.1578, allocations: 0.7999 MB / 0.6623 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003966/0.1582, allocations: 345.3 kB / 0.6627 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.1584, allocations: 71.95 kB / 0.6627 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/0.1609, allocations: 1.156 MB / 0.6639 GB, free: 13.43 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.1609, allocations: 0 / 0.6639 GB, free: 13.43 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.189e-05/0.161, allocations: 28 kB / 0.6639 GB, free: 13.4 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.161, allocations: 16 kB / 0.6639 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002453/0.1635, allocations: 1.074 MB / 0.6649 GB, free: 12.31 MB / 478.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.006674/0.1701, allocations: 3.879 MB / 0.6687 GB, free: 8.238 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0079/0.1781, allocations: 2.48 MB / 0.6712 GB, free: 5.629 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001695/0.1798, allocations: 0.7547 MB / 0.6719 GB, free: 4.867 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.1799, allocations: 16.97 kB / 0.6719 GB, free: 4.852 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.18, allocations: 43.56 kB / 0.6719 GB, free: 4.801 MB / 478.1 MB Notification: Performance of pre-optimization done (n=90): time 2.525e-06/0.18, allocations: 8 kB / 0.672 GB, free: 4.793 MB / 478.1 MB Notification: Performance of matching and sorting (n=90): time 0.03664/0.2166, allocations: 8.427 MB / 0.6802 GB, free: 12.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.2167, allocations: 94.05 kB / 0.6803 GB, free: 12.22 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.2182, allocations: 0.9133 MB / 0.6812 GB, free: 11.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.2184, allocations: 41.7 kB / 0.6812 GB, free: 11.24 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/0.2188, allocations: 473.1 kB / 0.6817 GB, free: 10.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003726/0.2192, allocations: 333.1 kB / 0.682 GB, free: 10.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003704/0.2195, allocations: 162.6 kB / 0.6821 GB, free: 10.28 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2197, allocations: 341.9 kB / 0.6825 GB, free: 9.938 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/0.2214, allocations: 0.6539 MB / 0.6831 GB, free: 9.281 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001786/0.2232, allocations: 0.803 MB / 0.6839 GB, free: 8.426 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003379/0.2266, allocations: 1.482 MB / 0.6853 GB, free: 6.891 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.2266, allocations: 3.938 kB / 0.6853 GB, free: 6.887 MB / 494.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01626/0.2429, allocations: 4.457 MB / 0.6897 GB, free: 2.418 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.2429, allocations: 8 kB / 0.6897 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.2429, allocations: 4 kB / 0.6897 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008085/0.251, allocations: 2.241 MB / 0.6919 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006973/0.2517, allocations: 135.8 kB / 0.692 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0304/0.2821, allocations: 10.96 MB / 0.7027 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/0.2838, allocations: 163.3 kB / 0.7029 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.284, allocations: 36 kB / 0.7029 GB, free: 4.727 MB / 0.4981 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.0004576/0.2844, allocations: 242.6 kB / 0.7031 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002709/0.2847, allocations: 115.2 kB / 0.7032 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/0.3007, allocations: 4.392 MB / 0.7075 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/0.3008, allocations: 12 kB / 0.7075 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3008, allocations: 3.984 kB / 0.7075 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.416e-05/0.3008, allocations: 7.922 kB / 0.7076 GB, free: 15.93 MB / 0.5137 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.01853/0.3193, allocations: 6.003 MB / 0.7134 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.3194, allocations: 0 / 0.7134 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004717/0.3199, allocations: 91.83 kB / 0.7135 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007813/0.3277, allocations: 2.112 MB / 0.7156 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/0.3278, allocations: 20 kB / 0.7156 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02665/0.3545, allocations: 9.706 MB / 0.7251 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3545, allocations: 3.938 kB / 0.7251 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01851/0.3731, allocations: 5.398 MB / 0.7303 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004035/0.3735, allocations: 212.2 kB / 0.7305 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/0.3737, allocations: 15.94 kB / 0.7306 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.3748, allocations: 103.9 kB / 0.7307 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007336/0.3756, allocations: 232.6 kB / 0.7309 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.463e-05/0.3757, allocations: 20 kB / 0.7309 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008728/0.3765, allocations: 0.6308 MB / 0.7315 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3766, allocations: 0 / 0.7315 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001261/0.3778, allocations: 439.7 kB / 0.7319 GB, free: 6.621 MB / 0.5294 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.01857/0.3964, allocations: 5.975 MB / 0.7378 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007969/0.4044, allocations: 2.493 MB / 0.7402 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4044, allocations: 4.062 kB / 0.7402 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00602/0.4105, allocations: 1.708 MB / 0.7419 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009237/0.4114, allocations: 103.6 kB / 0.742 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04313/0.4546, allocations: 15.84 MB / 0.7574 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007576/0.4554, allocations: 1.069 MB / 0.7585 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003712/0.4557, allocations: 82.7 kB / 0.7586 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005665/0.4563, allocations: 411.3 kB / 0.759 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of SimCode: time 9.02e-07/0.4563, allocations: 0 / 0.759 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3449/0.8013, allocations: 37.23 MB / 0.7953 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.09/16.9, allocations: 8.891 kB / 0.7953 GB, free: 106.8 MB / 0.5606 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)