Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001748/0.001748, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002068/0.002068, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2266/0.2266, allocations: 46.9 MB / 357.4 MB, free: 10.6 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 79.86 kB / 0.4912 GB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1272, allocations: 65.99 MB / 0.5557 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004006/0.1313, allocations: 2.592 MB / 0.5582 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.1326, allocations: 0.6739 MB / 0.5589 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.1327, allocations: 4 kB / 0.5589 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.1329, allocations: 39.58 kB / 0.5589 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.133, allocations: 79.28 kB / 0.559 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.1333, allocations: 75.83 kB / 0.559 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.1337, allocations: 294.8 kB / 0.5593 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.1338, allocations: 68.38 kB / 0.5594 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.134, allocations: 119.6 kB / 0.5595 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.1342, allocations: 115.5 kB / 0.5596 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.14e-05/0.1343, allocations: 24 kB / 0.5596 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.062e-05/0.1343, allocations: 24 kB / 0.5597 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.164e-05/0.1344, allocations: 63.77 kB / 0.5597 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.1345, allocations: 127.4 kB / 0.5598 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.1349, allocations: 290.8 kB / 0.5601 GB, free: 1.863 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1349, allocations: 0 / 0.5601 GB, free: 1.863 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1349, allocations: 0 / 0.5601 GB, free: 1.863 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1349, allocations: 0 / 0.5601 GB, free: 1.863 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008821/0.1358, allocations: 0.5416 MB / 0.5606 GB, free: 1.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1358, allocations: 8.031 kB / 0.5607 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.515e-05/0.1359, allocations: 62.72 kB / 0.5607 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.136, allocations: 32.8 kB / 0.5607 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.1364, allocations: 263.8 kB / 0.561 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.1364, allocations: 16.81 kB / 0.561 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/0.1365, allocations: 24.3 kB / 0.561 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.1368, allocations: 199.4 kB / 0.5612 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.1368, allocations: 0 / 0.5612 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.1369, allocations: 8 kB / 0.5612 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1369, allocations: 8 kB / 0.5612 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.1372, allocations: 137.7 kB / 0.5614 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.1385, allocations: 0.8066 MB / 0.5622 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.1387, allocations: 94.48 kB / 0.5623 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.296e-05/0.1388, allocations: 44.84 kB / 0.5623 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.1388, allocations: 3.984 kB / 0.5623 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.1388, allocations: 34.56 kB / 0.5623 GB, free: 15.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.1388, allocations: 0 / 0.5623 GB, free: 15.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001734/0.1406, allocations: 0.7182 MB / 0.563 GB, free: 14.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.1406, allocations: 55.41 kB / 0.5631 GB, free: 14.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.1408, allocations: 218.9 kB / 0.5633 GB, free: 14.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.1409, allocations: 29.7 kB / 0.5633 GB, free: 14.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.141, allocations: 168.1 kB / 0.5635 GB, free: 14.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.1411, allocations: 59.52 kB / 0.5635 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.922e-05/0.1412, allocations: 45.66 kB / 0.5636 GB, free: 14.01 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1414, allocations: 334.8 kB / 0.5639 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.1415, allocations: 59.97 kB / 0.564 GB, free: 13.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.1417, allocations: 105.1 kB / 0.5641 GB, free: 13.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.142, allocations: 169.1 kB / 0.5642 GB, free: 13.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.142, allocations: 0 / 0.5642 GB, free: 13.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005596/0.1426, allocations: 281.7 kB / 0.5645 GB, free: 13.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1426, allocations: 8.156 kB / 0.5645 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1426, allocations: 4 kB / 0.5645 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002462/0.1428, allocations: 73.61 kB / 0.5646 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.143, allocations: 27.98 kB / 0.5646 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/0.1459, allocations: 3.026 MB / 0.5676 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.146, allocations: 8 kB / 0.5676 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.146, allocations: 8 kB / 0.5676 GB, free: 9.586 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.1462, allocations: 145.7 kB / 0.5677 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.1462, allocations: 19.84 kB / 0.5677 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.994e-05/0.1463, allocations: 29.86 kB / 0.5678 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1463, allocations: 0 / 0.5678 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-06/0.1463, allocations: 0 / 0.5678 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1463, allocations: 4 kB / 0.5678 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003444/0.1466, allocations: 289.4 kB / 0.568 GB, free: 9.047 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1466, allocations: 0 / 0.568 GB, free: 9.047 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.267e-05/0.1467, allocations: 20.08 kB / 0.5681 GB, free: 9.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001855/0.1469, allocations: 69.66 kB / 0.5681 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1469, allocations: 0 / 0.5681 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002681/0.1496, allocations: 3.013 MB / 0.5711 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1496, allocations: 0 / 0.5711 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007571/0.1504, allocations: 394.7 kB / 0.5714 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.414e-05/0.1505, allocations: 105 kB / 0.5715 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.1505, allocations: 0 / 0.5715 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.1507, allocations: 15.98 kB / 0.5716 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/0.1507, allocations: 15.92 kB / 0.5716 GB, free: 5.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.1507, allocations: 12.06 kB / 0.5716 GB, free: 5.094 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.1509, allocations: 149 kB / 0.5717 GB, free: 4.949 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1509, allocations: 0 / 0.5717 GB, free: 4.949 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003903/0.1513, allocations: 64 kB / 0.5718 GB, free: 4.887 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001079/0.1524, allocations: 0.9253 MB / 0.5727 GB, free: 3.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007726/0.1532, allocations: 405.2 kB / 0.5731 GB, free: 3.508 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1532, allocations: 0 / 0.5731 GB, free: 3.508 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004676/0.1536, allocations: 321.2 kB / 0.5734 GB, free: 3.168 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.154, allocations: 28.19 kB / 0.5734 GB, free: 3.141 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/0.1575, allocations: 2.488 MB / 0.5758 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.158, allocations: 0.748 MB / 0.5766 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.1581, allocations: 17.95 kB / 0.5766 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.1582, allocations: 67.41 kB / 0.5766 GB, free: 15.67 MB / 446.1 MB Notification: Performance of SimCode: time 1.823e-06/0.1582, allocations: 0 / 0.5766 GB, free: 15.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04639/0.2046, allocations: 5.061 MB / 0.5816 GB, free: 10.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.22, allocations: 4.719 kB / 0.5816 GB, free: 10.73 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer_fmu --startTime=0 --stopTime=1.1 --stepSize=0.00044 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.445845116395503] Failed to read output from testmodel.py, exit status != 0: 10.301498620770872 10.584444578 10.445087208 Calling exit ...