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: "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO",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.00561/0.00561, allocations: 99.58 kB / 15.73 MB, free: 6.039 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.371/1.371, allocations: 222.9 MB / 239.4 MB, free: 4.516 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.001474/0.001474, allocations: 184.5 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5189/0.5189, allocations: 92.62 MB / 432.5 MB, free: 8.484 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 82.44 kB / 0.5732 GB, free: 33.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1148, allocations: 71.42 MB / 0.6429 GB, free: 3.094 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO): time 0.007737/0.1226, allocations: 6.57 MB / 0.6494 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004088/0.1267, allocations: 1.962 MB / 0.6513 GB, free: 10.52 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007449/0.1275, allocations: 8 kB / 0.6513 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006689/0.1282, allocations: 242 kB / 0.6515 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.1301, allocations: 0.5937 MB / 0.6521 GB, free: 9.676 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.1321, allocations: 0.8017 MB / 0.6529 GB, free: 8.879 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002181/0.1343, allocations: 1.503 MB / 0.6543 GB, free: 7.367 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005337/0.1348, allocations: 308.2 kB / 0.6546 GB, free: 7.051 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007683/0.1356, allocations: 0.6029 MB / 0.6552 GB, free: 6.445 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.1366, allocations: 0.7857 MB / 0.656 GB, free: 5.656 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002169/0.1368, allocations: 120 kB / 0.6561 GB, free: 5.539 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005538/0.1374, allocations: 231.9 kB / 0.6563 GB, free: 5.312 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003265/0.1377, allocations: 310.7 kB / 0.6566 GB, free: 5.008 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000759/0.1385, allocations: 0.6564 MB / 0.6573 GB, free: 4.348 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002042/0.1406, allocations: 1.591 MB / 0.6588 GB, free: 2.75 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.1406, allocations: 4 kB / 0.6588 GB, free: 2.746 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1406, allocations: 0 / 0.6588 GB, free: 2.746 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.909e-05/0.1406, allocations: 0 / 0.6588 GB, free: 2.746 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00935/0.15, allocations: 2.676 MB / 0.6614 GB, free: 16 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.1501, allocations: 11.97 kB / 0.6615 GB, free: 4 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001995/0.1503, allocations: 130.6 kB / 0.6616 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004356/0.1546, allocations: 0.6899 MB / 0.6623 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.1561, allocations: 0.8159 MB / 0.663 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004092/0.1565, allocations: 341.3 kB / 0.6634 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.1566, allocations: 72 kB / 0.6634 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002618/0.1593, allocations: 1.205 MB / 0.6646 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.1593, allocations: 0 / 0.6646 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.857e-05/0.1594, allocations: 32 kB / 0.6647 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.1594, allocations: 20 kB / 0.6647 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002743/0.1622, allocations: 1.148 MB / 0.6658 GB, free: 11.42 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.006639/0.1688, allocations: 3.801 MB / 0.6695 GB, free: 7.445 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007979/0.1768, allocations: 2.577 MB / 0.672 GB, free: 4.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001936/0.1788, allocations: 0.8114 MB / 0.6728 GB, free: 3.914 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.1789, allocations: 24.97 kB / 0.6728 GB, free: 3.891 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.179, allocations: 47.56 kB / 0.6729 GB, free: 3.832 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.287e-06/0.179, allocations: 3.938 kB / 0.6729 GB, free: 3.828 MB / 478.1 MB Notification: Performance of matching and sorting (n=100): time 0.03771/0.2167, allocations: 8.86 MB / 0.6815 GB, free: 10.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.2168, allocations: 86.11 kB / 0.6816 GB, free: 10.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.2182, allocations: 0.9137 MB / 0.6825 GB, free: 9.898 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000221/0.2185, allocations: 45.7 kB / 0.6826 GB, free: 9.848 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000436/0.2189, allocations: 481.3 kB / 0.683 GB, free: 9.371 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004511/0.2194, allocations: 368.8 kB / 0.6834 GB, free: 9.008 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000389/0.2198, allocations: 170.9 kB / 0.6835 GB, free: 8.836 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.2199, allocations: 345.9 kB / 0.6839 GB, free: 8.492 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/0.2217, allocations: 0.6975 MB / 0.6845 GB, free: 7.793 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00192/0.2237, allocations: 0.8423 MB / 0.6854 GB, free: 6.902 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003684/0.2274, allocations: 1.559 MB / 0.6869 GB, free: 5.297 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.2274, allocations: 4 kB / 0.6869 GB, free: 5.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01618/0.2436, allocations: 4.543 MB / 0.6913 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.2436, allocations: 8 kB / 0.6913 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.2437, allocations: 4.312 kB / 0.6913 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008082/0.2517, allocations: 2.241 MB / 0.6935 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008217/0.2526, allocations: 155.8 kB / 0.6937 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02987/0.2825, allocations: 10.95 MB / 0.7044 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.2841, allocations: 175.3 kB / 0.7045 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.2842, allocations: 39.98 kB / 0.7046 GB, free: 3.016 MB / 0.4981 GB 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.0004558/0.2847, allocations: 233.6 kB / 0.7048 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002587/0.285, allocations: 123.2 kB / 0.7049 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01585/0.3008, allocations: 4.458 MB / 0.7093 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/0.3009, allocations: 12 kB / 0.7093 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3009, allocations: 0 / 0.7093 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.479e-05/0.3009, allocations: 3.984 kB / 0.7093 GB, free: 14.16 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.0183/0.3192, allocations: 6.135 MB / 0.7153 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.3193, allocations: 4 kB / 0.7153 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006279/0.3199, allocations: 115.8 kB / 0.7154 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007782/0.3277, allocations: 2.112 MB / 0.7175 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001808/0.3279, allocations: 20 kB / 0.7175 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02644/0.3544, allocations: 9.71 MB / 0.727 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.3544, allocations: 0 / 0.727 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01855/0.373, allocations: 5.57 MB / 0.7324 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004721/0.3735, allocations: 224 kB / 0.7326 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.3737, allocations: 16 kB / 0.7326 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.3749, allocations: 119.8 kB / 0.7327 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007975/0.3757, allocations: 236.7 kB / 0.733 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.391e-05/0.3758, allocations: 23.98 kB / 0.733 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008902/0.3767, allocations: 0.6271 MB / 0.7336 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3767, allocations: 0 / 0.7336 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001387/0.3781, allocations: 459.6 kB / 0.734 GB, free: 4.473 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 (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.01886/0.397, allocations: 6.143 MB / 0.74 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008449/0.4055, allocations: 2.579 MB / 0.7426 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.4055, allocations: 4 kB / 0.7426 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006286/0.4118, allocations: 1.786 MB / 0.7443 GB, free: 9.895 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.4129, allocations: 105.4 kB / 0.7444 GB, free: 9.793 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04461/0.4576, allocations: 16.13 MB / 0.7602 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007368/0.4583, allocations: 1.085 MB / 0.7612 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004551/0.4588, allocations: 94.95 kB / 0.7613 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005965/0.4594, allocations: 439.2 kB / 0.7617 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of SimCode: time 2.615e-06/0.4594, allocations: 0 / 0.7617 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3372/0.7966, allocations: 38.39 MB / 0.7992 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.22, allocations: 7.828 kB / 0.7992 GB, free: 103.3 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSourceIO.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSourceIO.pipe 2>&1)